A $12$-sided polygon is inscribed in a circle with radius $r$. The polygon has six sides of length $6\sqrt3$ that alternate with six sides of length $2$. Find $r^2$.

Let's think step by step and output the final answer within \boxed{}.
user