Two moles of an ideal gas at 300K and 10 atm pressure are expanded isothermally against a constant external pressure of 5 atm until the internal pressure reaches a value of 7 atm. At this point, the expansion is halted. Compute delta U, delta H, q and w for the process.