The shorter leg of a right triangle is 6m shorter than the longer leg. the hypotenuse is 6m longer than the longer leg. find the side lengths of the triangle.