A piston-cylinder assembly contains 20kg of air with a specific internal energy of 28K J/kg. It is compressed to a high pressure and the final specific internal energy is 65K J/kg. During the process there is a heat loss of 3.2K J. Determine the work energy input needed for the compressor. Just wanna ask how come I need to use the mass times the internal energy? What's the concept behind? Thanks.