Trapezoid properties and calculations