Find work done by the gas in the process shown in figure: