A system is acted on by its surroundings in such a way that it receives 50 J of heat while simultaneously doing 20 J of work. What is its net change in internal energy