In a 30-60-90 triangle, if the shortest side (the side opposite the 30° angle) has length x, then the side opposite the 60° angle has length √3 x and the length of the hypotenuse is 2x.
So, if the hypotenuse has length 24√3, then the shorter leg has length (1/2)(24√3) = 12√3.
Thus, the longer leg has length √3(12√3) = 36