Two moles of helium gas are taken along the path ABCD (as shown in figure). Find the work done by the gas.