How do you solve for x given a right triangle with leg = x, leg: 7 inches, hypotenuse: (x+1) inches?