For the adiabatic strokes, and . (See a previous example.)
For the isochoric (constant volume) paths, and .
Also
The total work done by the system is