posted by mel .
Consider the following cyclic process carried out in two steps on a gas.
Step 1: 48 J of heat is added to the gas, and 20. J of expansion work is performed.
Step 2: 70. J of heat is removed from the gas as the gas is compressed back to the initial state.
Calculate the work for the gas compression in Step 2.
Can't you use
delta E = q + w
Step 1 gives q and w which allows you to calcualte delta E.
Step 2. Use that delta E, the problem provides q and w is calculated.
Check my thinking.