Goal: what is the formula of finding the area of a trapezium

Which of the following methods is more reasonable for accomplishing this goal?
To calculate the area of a trapezium, divide it into a rectangle and two triangles as shown below. Now, piece together the triangular ends so that the trapezium is divided into a triangle and rectangle. The base of the triangle is the difference between the lengths of two parallel sides. That is, a b