The hypotenuse of a right triangle is 5cm longer. the shorter leg is 1 cm shorter than the longer leg. find the side lengths of the triangle.