read through it carefully,
1400J of "heat" was added to the system
only 600J of thermal energy was added to the system, or only 600J of the "heat" was used to change the temperature
so if only 600 of 1400J was used to affect the temperature, that means the remaining heat energy must have been converted to work
1400J-600J =