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