If someone could answer this problems and show how you got the answer please. Ok I'm bad at equation with x^2 in them:

(This problem goes to the triangle)

Solve the eqution:

7^2+x^2=(x+1)^2

What is the perimeter of the triangle?

And the rest is in the image below Thanks:::