A sample of an ideal gas is taken through the cyclic process as shown in figure. It absorbs, 40 J of heat during the part , no heat during and rejects 60 J of heat during . A work of 50 J is done on the gas during the part . The internal energy of the gas at is 1560 J. The work done by the gas during the part is

Use first law:
(where W is work done by gas)
For process BC:
Given no heat exchange,
Work done on gas = 50 J
So work done by gas
Thus
So
For process AB:
From graph AB is vertical (constant volume), so
Therefore
Since
Then
For process CA:
Change in internal energy:
Now
Tagged Zeroth and first law of thermodynamics. Machine-assigned, so read it as a strong shortlist rather than a verdict.