Calculate the area of a trapezoid from its two bases and height
Calculate trapezoid area using A = ½(a+b)×h, where a and b are the parallel sides and h is the height.