You can do it in six pieces:

Take an equilateral triangle as shown in blue, then continue for one edge length on the bisector as shown. Draw circles of radius one edge length as shown and cut out the top piece (a bit like a T). With the triangle these two pieces make a four-point star. Finally cut the side pieces in half along the long axis of symmetry. Those last (green) cuts will be the sides of the square, leaving the star-shaped hole to be filled in the centre.
To make the same process in reverse, draw the diagonals and mid-lines (mid-side perpendiculars) on a square. Then draw an equilateral triangle in one corner, as shown, and continue the side from the corner to the mid-line. Bisect this extended line to intersect the diagonal. This gives the side length of the dodecagon. Use this length to draw the four-point star from mid-lines to digonals and remove a triangle from this star to gives the shapes as per the dodecagon dissection above.
