With respect to the figures, no heat exchange between the gas and the surroundings will take place. If the gas is taken along curve: