ABC is a right triangle, and the measures are:
hypotenuse = AB = 12√3
angle = 30°
adjacent side to 30 ° = x
Knowing that, use the formula of cosine to find x.
The formula of cos is:

Substituting the values:

Knowing cos(30) = √3/2:

Multiplying both sides 12√3:

Answer: D. 18.