we know that
the perimeter of the regular octagon is equal to

where
b is the length side of the regular octagon
In the right triangle of the figure

Solve for b

substitute the value of b in the formula

therefore
the answer is
the perimeter of the octagon is
