Let $G$ be the centroid of $\triangle ABC$; that is, the point where the segments joining each vertex to the midpoint of the opposite side all meet.  If $\triangle ABG$ is equilateral with $AB=2$, then compute the perimeter of $\triangle ABC$.
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Let $G$ be the centroid of $\triangle ABC$; that is, the point where the segments joining each vertex to the midpoint of the opposite side all meet.  If $\triangle ABG$ is equilateral with $AB=2$, then compute the perimeter of $\triangle ABC$.
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
2+4\sqrt{7}
Let $G$ be the centroid of $\triangle ABC$; that is, the point where the segments joining each vertex to the midpoint of the opposite side all meet.  If $\triangle ABG$ is equilateral with $AB=2$, then compute the perimeter of $\triangle ABC$.
train