Divide the number of grams by the grams per mole of the element or compound required.
Simply this compound fraction by multiplying both
the faction moles/grams. This gives
The numerator simplifes as moles ( the grams divide out)
The denominator simplifies as 1 ( the grams and moles divide out)
This leaves moles as the answer.