A triangular sail has a perimeter of 25 m. Side a is 2 m shorter than twice side b, and side c is 3 m longer than side b. Find the length of each side.