The longer leg of a right triangle is 1 inch longer than the shorter leg the hypotenuse is 9 inches longer than the shorter leg find the side lengths of the triangle