This is essentially two trapezoids stacked one atop the other.
The area of a trapezoid is the average of the bases times the height.
Mathematically, h(b1+b2)/2, and there are two of them, a top and a bottom. The dimensions of the bases and the heights can be found with subtraction...