The work done on the gas in taking it from D to A is