The pressure in ideal gas is cut in half slowly, while being kept in a container with rigid walls. In the process, 265 kJ of heat left the gas (a) how much work was done during the process. (b) what was the change in internal energy of the gas during this process.