The triangle has legs of 4 meters and x meters. The hypotenuse is of y meters.

I thought the answer was x+4, but the answer key says it is sq. rt.(x^2 + 16)

Can you please explain why I am wrong and why the answer key is correct.

Thanks so much.