The hypotenuse of a 45-45-90 triangle has a length of 10 units. what is the length of one of its legs?
a.5 units
b.10 units
c.5 units
d.10 units