Implement a method for finding the area of a trapezoid.