The following formula gives the area A of a trapezoid based on its height h and the length of the two bases b and B
A=1/2h(b+B)
solve the formula for the height h
solve formula for the length of base b
and solve formula for length of base B