Given, the pressure and volume at point
The total work done by the gas from state D to E to F is the area of the graph subtended by the points. Hence, work done by gas is the area of
Let
Substitute the values in the above expression.
Hence, the total work done by the gas is