An ideal gas undergoes cyclic process ABCDA as shown in given P−V diagram. The amount of work done by the gas is