A 30-60-90 triangle has a hypotenuse with a length of 10. What is the length of the longer leg?