Answer:
Using the Pythagorean Theorem we can see that:
[tex]9^2+40^2=1681\\\sqrt{1681}=41[/tex]
Thus, x is 41.