Question: how to write molecular and empirical formulas?
Answer: Step 1: Find the number of moles of each element in a sample of the molecule. ... 
Step 2: Find the ratios between the number of moles of each element. ... 
Step 3: Find the empirical formula.