Area of squares and rectangles