The perimeter of a triangle is 49ft. One side of the triangle is 17ft shorter than the second side. The third side is 6ft shorter than the second side. Find the length of each side