Yeah, for the most part it's three-variable algebra. ax=b x=b/a a=b/x
Now, to find the Molar mass of a molecule, you add the Molar masses of each constituent atom...meaning that if there are two of any of them, you add it in twice, etc.
Single-element Molar masses are found on the periodic table...just look it up...chemists do
Ask Dron Cah for more! He's a chemistry-oriented person...