Hello!
This is a right triangle therefore we can use the Pythagorean theorem.
The Pythagorean theorem is

c is the hypotenuse which is the side across the right angle
a and b are the other sides
Put in the values we know

square the numbers

Add

Take the square root of 625
25 = c
The answer is 25
Hope this helps!