Solid Geometry

A regular octagon has one of its sides equal to 12 cm. if a square, which is inscribed in the octagon, is being cut out, determine the percentage of waste due to this process.

Can you help me on this po sir? I cant really figure what happened to the square.. Thanks a lot po .. Godbless!