Use your compass and straightedge, and
1. construct a square, and cut off the corners to construct a regular octagon,
and
2. construct a regular hexagon, and cut off the corners to construct a regular dodecagon.