In equilateral triangle $ABC$, the midpoint of $\overline{BC}$ is $M$. If the circumcircle of triangle $MAB$ has an area of $36\pi$, find the perimeter of the triangle.

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