A sample of non-ideal gas is made to undergo an expansion process during which its pressure and volume are related as shown in the table below. The energy of the gas at the start and finish of the process is measured and found to be 5 and 3.2 Btu, respectively. Determine the amounts of energy transferred as heat and work during the process.