The perimeter of a triangle is 57 inches. Twice the length of the longest side minus the length of the shortest side is 22 inches. The sum of the length of the longest side and twice the sum of both the other side lengths is 94 inches. Find the side lengths