The shorter leg of a right triangle is 9 m shorter than the longer leg. The hypotenuse is 9 m longer than the longer leg. What are the side lengths of the triangle?