In a 30-60-90 triangle with a hypotenuse of length 9.8, what is the length of the longer of the two legs?