What what is the change in internal energy if 500 joule of heat is added to a system and 125 joule of work are done on a system