Let $ABCDEF$ be a regular hexagon with side length $6$, and construct squares $ABGH$, $BCIJ$, $CDKL$, $DEMN$, $EFOP$, and $FAQR$ outside the hexagon. Find the perimeter of the dodecagon $HGJILKNMPORQ$.

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