Three processes compose a thermodynamic cycle shown in the accompanying P-V diagram. Process 1 to 2 takes place at constant temperature process 2 to 3 takes place at constant volume. During this process 40 J of heat leaves the system. Process 3→1 is adiabatic. What is the change in internal energy of the system during process 3→1?