The longer leg of a right triangle is 7inches longer than the shorter leg. The hypotenuse is 9inches longer than the shorter leg. Find the side lengths of the triangle.