An ideal gas expands isothermally from a volume V1 to V2 and then compressed to original volume V1 adiabatically. Initial pressure is p1 and final pressure is p3. The total work done is W. Then