Remember 1 mole of any substance has Avogardo's number.of molecules. The problem follows direct proportion.
I mole of methanol (CH3OH) has a mass of (12+4+16) = 32g and has 6.02× 1023 molecules.
Thus 9.35 × 1024 molecules of methanol have a mass of (32 × 9.35 × 1024)/(6 × 1023) in grams.