area of triangles, rectangles and parallelograms