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:
![c=\sqrt[]{29}.](https://img.qammunity.org/2023/formulas/mathematics/college/9yuoypos3q837w62lh3k7penpskk18tpb2.png)
Answer:
![\sqrt[]{29}.](https://img.qammunity.org/2023/formulas/mathematics/college/qusmadvycrwh7hi4nrerkflwm8ckgh2tqj.png)