Areas of squares and polygons