Area of rectangles and parallelograms