A diatomic ideal gas undergoes a thermodynamic change according to the P-V diagram shown in the given figure. The total heat given to the gas is nearly