The length of the longer leg of a right triangle is 1 ft longer than the length of the shorter leg . The hypotenuse is 1 ft shorter than twice the length of the shorter leg.