If each leg has length 5 meters, what are the lengths of the other leg and the hypotenuse

You said each leg is 5 m, so the other leg is 5

h^2 = 5^2+5^2 = 50
h = √50 or 5√2