A 30-60-90 triangle has a hypotenuse of length 9.8. What is the length of the longer of the two legs?