The legs of a right triangle are x and x+7. If the hypotenuse is 13, what is the value of x?
3
5
7
12