2 cubic meter of diatomic gas at 6 ATM of pressure is first brought to a pressure of 2 ATM in an isovolumetric process, and then allowed to expand to a volume of 6 cubic meters. What is the work done by the gas in the process?