Recall that in a right triangle we can use the Pythagorean theorem:
where a and b are the lengths of the legs and c is the length of the hypotenuse.
Now, the given triangle has legs of length 5 and 2, therefore:
Solving the above equation for c we get:
Answer: