An octagon is an eight-sided polygon.
The area of a regular octagon with side = a is given by:
2 ( 1 + 2 ) a 2 {\displaystyle 2(1+{\sqrt {2}})a^{2}}