
To calculate the area of a trapezium, which is essentially a rectangle with triangles on either side:
add together the top and bottom (top + bottom)
multiply the result with the height ((top + bottom) * height)
divide the result in half ((top + bottom) * height / 2)