A gas undergoes a change from state A to state B. In this process, the heat absorbed and work done by the gas is 5 J and 8 J, respectively. Now gas is brought back to A by another process during which 3 J of heat is evolved. In this reverse process of B to A: