An ideal gas is compressed from a volume of 400 cm^3 to a volume of 150 cm^3 slowly and isothermally in a piston-cylinder system. If the final pressure is 100 kPa, determine
a) the work done on the gas and
b) the heat transfer (specify whether the heat was added or removed in the process).