A one mole sample of an ideal monatomic gas at 400 K undergoes an isovolumetric process acquring 550 J of energy by heat. Next it undergoes an isobaric process during which is loses the same amount of energy by heat. Find the work done on the gas. Assume three degrees of freedom.