How many grams of CH3OH can be made from 30.0g of CO if it all reacts?
Moles of CO in equals moles of methanol out (at 100% yield), typically over copper-doped zinc oxide catalyst.  Do the arithmetic.  

One gram-mole of a chemical formula is [the magnitude of its atomic mass units] grams.  A nitrogen atom is 14.0067 amu.  A mole of nitrogen gas, $\ce{N2}$, is then 28.0134 grams.