i know that Work done by the gas is
nRTIn( Vf/Vi) and this is only for the two isothermal processes
Since BC and DA are isobaric, the 2 isothermal processes are AB and CD.
The nett work done is the shaded area in the diagram.
But i do not know the volume of the gas at B & D.