Can someone answer this and then teacher me how I can do more like this in the future?

Answer:
15²+40²=42.72
Step-by-step explanation:
In this particular problem, you can use pythagorean theorem. The pythagorean theorem consists of the formula a²+b²=c². This theorem is mostly used when solving for the hypotenuse in a right triangle.
In this problem,
a=15
b=40
c=? (this is the hypotenuse)
then, plug the numbers into the formula
a²+b²=c²
15²+40²=?
15²=225
40²=1600
1600+225=1825
or you could just punch the numbers in a calculator
then take the square root of 1825 to find your answer
√1825=42.72
Hope this helps! :)