can someone answer for me please.

the hypotenuse of a 45o -45o -90o triangle measures 10 square root of 5 what is the length of one leg of the triangle?