The perimeter of a triangle is 50yd. The longest side is twice the length of the shortest side, and the second side is two yards more than the shortest side. Find the lengths of the sides