Corrected formula for area of a trapezoid

Displayed formula and the actual calculation were both wrong.