Octagon $ABCDEFGH$ is equiangular. Given that $AB=1$, $BC=2$, $CD=3$, $DE=4$, and $EF=FG=2$, compute the perimeter of the octagon.
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Octagon $ABCDEFGH$ is equiangular. Given that $AB=1$, $BC=2$, $CD=3$, $DE=4$, and $EF=FG=2$, compute the perimeter of the octagon.
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
20+\sqrt{2}
Octagon $ABCDEFGH$ is equiangular. Given that $AB=1$, $BC=2$, $CD=3$, $DE=4$, and $EF=FG=2$, compute the perimeter of the octagon.
train