Area of rectangles and squares