The hypotenuse of the right triangle is 5y inches long. The lengths of the legs are x + 8 and x + 3 inches. If the perimeter of the triangle is 55 inches and the length of the hypotenuse minus the length of the shorter leg is 5 inches, how many inches long is the hypotenuse?