Answer:
The answer is B.
Explanation:
You have to use Pythogorean Theorem, c² = a² + b² where c is the hypotenuse and a,b is the side lengths :

Let a = 40,
Let b = 9,





*Take note, hypotenuse will always be the longest length among the 3 lengths.
*Pythogorean Theorem can only applied in a right-angle triangle.