Calculate the change in internal energy of a system if 25000 J of heat is added to the system while the system does 40000 J of work on its surroundings. Does this represent an increase or decrease of internal energy?