A sample of gas in a cylinder is compressed by a piston at a constant pressure of 0.800 atm. The volume of the cylinder decreases from 8.50 L to 2.00 L, while at the same time 320 J of energy leaves the gas by heat.
(a)
What is the work done on the gas (in J)?