First, calculate the number of moles:
Moles CH4 = (gram CH4 ) / (Molar Mass of CH4 )
Molar Mass of CH4 = 12.01+4(1.008) = 12.01+4.032 = 16.042
Mole CH4 = 32 / 16.042
=1.99
1 mole of a gas at S.T.P occupies a volume of 22.4 Liters
Therefore, Volume occupied by 1.99 moles = 1.99 * 22.4 Liters
= 44.576 Liters
Volume of a 32 gram of CH4 gas at S.T.P = 45 Liters