Analytic geometry (polygon in the coordinate system).
Mark the point on the coordinate system and draw the polygon (attachment).
This is the trapezoid.
The formula of an area of a trapezoid:
a, b - the lengths of the parallel sides
h - the height
Substitute: