Any shape other than a simple trapezoid requires evaluation of the above integral.
The figure can be separated into a trapezoid and a semicircle.