Answer:
123 J transfer into the gas
Step-by-step explanation:
Here we know that 123 J work is done by the gas on its surrounding
So here gas is doing work against external forces
Now for cyclic process we know that
![\Delta U = 0](https://img.qammunity.org/2021/formulas/physics/high-school/a7hw7fjcu5t5d50rnod5nmyenxkw8iqjsm.png)
so from 1st law of thermodynamics we have
![dQ = W + \Delta U](https://img.qammunity.org/2021/formulas/physics/high-school/27ss4d03vy0b9p2i1udkkdgup8lo7pme08.png)
![dQ = W](https://img.qammunity.org/2021/formulas/physics/high-school/2rhjbgejbnn8kk41iwpbdn62dzs9p59sb1.png)
so work done is same as the heat supplied to the system
So correct answer is
123 J transfer into the gas