A 1.80 mol sample of an ideal diatomic gas at a pressure of 1.20 atm and temperature of 410 K undergoes a process in which its pressure increases linearly with temperature. The final temperature and pressure are 710 K and 1.83 atm. (Note: Volume does not stay constant). What is the work done by the gas?