A leg of a 45-45-90 triangle has length 3sqrt2. What's the length of the hypotenuse?