A gas in a closed container undergoes two successive steps. First, 150J of heat is supplied while the volume remains constant. Next, the gas does 80J of work on its surroundings while an additional 40J of heat is added. Calculate the net change in internal energy for the entire two-step process.