Squares fitted in regular polygons.
The process I initially follow , is to start with the regular polygon that I want to insert the squares in, draw a loose point in one of the sides and repeat on the other sides (same length). I draw the squares and move the original point until I find the meeting point of the squares. I use GeoGebra to make the drawings.