The perimeter of a triangle is 48 in. The longest side is 10
in. longer than the medium side, and the medium side is 7
in. more than the shortest side. Find the length of each side
of the triangle.