Answer:

Explanation:
The work (W) done by the gas can be calculated using the following equation:

<u>Where:</u>
p: is the pressure
[tex}V_{f}[/tex]: is the final volume
[tex}V_{i}[/tex]: is the initial volume
In the first process, the work done by the gas is:

Since the volume remains constant, the total work done by the gas is equal to zero.
In the second process, the work done by the gas is:
Now, the total work done by the gas during both processes is:

Therefore, the total work done by the gas during both processes is - 24 kJ.
I hope it helps you!