A closed system undergoes a cycle consisting of two processes. During the first process, 40 Btu of heat is transferred to the system while the system does 60 Btu of work. During the second process, 45 Btu of work is done on the system.
a) Determine the heat transfer during the second process.
b) Calculate the net work and net heat transfer for the cycle.