0.25 moles of an ideal gas are contained in a piston chamber at 370 K and 101,000 N/m2 of pressure. The gas is heated, and expands at constant pressure until its volume has increased by 20 percent. Compute the work done by the gas. Find how many Joules of heat were transferred to the gas?