CO is a diatomic gas.
gamma = Cp/Cv
For a diatomic gas, gamma = 1.4
The mass of CO = 30 grams
So the number of moles of CO, n = wt/atomic mass = 30/28 = 1.07
Work done = 2.3026 x n x R x T x Log (Vf/Vin)
where, Vf = final volume = (1/5)Vin
Vin = ...
This solution provides step-by-step equations for determining work needed to compression a gas.