Let x be the length of the short leg, in inches. Then the length of the long leg is (2x+2). The length of the hypotenuse is (3x-2). You need to solve this equation  = . Simplify:  = ,  = 0, the roots are x = 0 and x = 5. Answer. 5 in, 12 in and 13 in.