A 45-45-90 triangle has a hypotenuse of length 7. What is the length of one of its legs? If necessary, round your answer to two decimal places.