A triangular sail has a perimeter of 57 ft. Side a is 3 ft shorter than twice side b and side c is 4 ft longer than side b. Find the length of each side.