Convert grams of O2 --> moles of O2 using MW of O2 (32 g/mol)
Convert moles of O2 --> moles of CO using the balanced chemical equations (3 CO per 3 O2)
Convert moles of CO --> grams of CO using the MW of CO (28 g/mol)
So...
72g O2 x 1 mol O2/32g O2 x 3 mol CO/ 3 mol O2 x 28 g CO/ 1 mol CO = 63 g CO