Three processes form a thermodynamic cycle as shown on P−V diagram for an ideal gas. Process 1→2 takes place at constant temperature (300K). Process 2→3 takes place at constant volume. During this process 40 J of heat leaves the system. Process 3→1 is adiabatic and temperature T3 is 275K. Work done by the gas during the process 3→1 is