Heat in the amount of 7.5 kJ is added to a closed system while its internal energy decreases by 12 kJ. How much energy is transferred as work? For a process causing the same change of state but for which the work is zero, how much heat is transferred?