In a certain process, the internal energy of a system increases 40.7 J and the quantity of work the system does on the surroundings is 78.9 J. What is q?