The perimeter of a triangle is 54 in. The longest side is 12
in. longer than the medium side, and the medium side is 6
in. more than the shortest side. Find the length of each side
of the triangle.