Suppose x is in the interval [0, \pi / 2] and \log _{24 \sin x}(24 \cos x)=\frac{3}{2}. Find 24 \cot ^{2} x.