P-V diagram of an ideal gas is as shown in the given figure. Work done by the gas in the process ABCD is