Non-Trig Solution:
Draw an octagon...like the diagram as shown below. Since the perimeter of the octagon is 32 cm, each of its side length are 32 / 8 = 4 centimeters.
Now, draw a square around it...forming four 45-45-90 degree triangles. The side length opposite to the 45 degree angles is \(x\sqrt{2}=4, x=\frac{4}{\sqrt{2}}=2\sqrt{2}\).
Find the area of each triangle, and multiply that by 4, yielding...\(4*4=16.\)
The area of the square on the other hand is \((4\sqrt{2}+4)^2=48+32\sqrt{2}.\)
Finally, (the area of the square) - (area of the four triangles = (area of the octagon).
Thus, we have \(48+32\sqrt{2}-16=\boxed{32+32\sqrt{2}}.\)