Total work done in a cyclic process is the sum of the work done in each individual stage, where W=PΔV for isobaric, W=nRTln(ViVf) for isothermal, and W=0 for isochoric processes.
For Cycle I:
Wa=4P0(2V0−V0)=4P0V0
Wb=nRTbln(2V04V0)=(4P0)(2V0)ln(2)=8P0V0ln2
Wc=2P0(V0−4V0)=−6P0V0
Wd=0
WI=4P0V0+8P0V0ln2−6P0V0=8P0V0ln2−2P0V0
For Cycle II:
Wa′=nRTa′ln(V02V0)=(4P0)(V0)ln(2)=4P0V0ln2
Wb′=0
Wc′=P0(V0−2V0)=−P0V0
Wd′=0
WII=4P0V0ln2−P0V0
Finding the ratio:
WIIWI=4P0V0ln2−P0V02(4P0V0ln2−P0V0)=2