One leg of a right triangle is one inch shorter than the other leg. If the
hypotenuse is 5 inches, find the length of the shorter leg.