Find the length of the shorter leg of a right triangle if the longer leg is 7 feet more than the shorter leg and the hypotenuse is 7 feet less than twice the shorter leg.