Answer
Molecular: C$_{6}$H$_{12}$O$_{6}$
Empirical: C$_{}$H$_{2}$O$_{}$
Work Step by Step
You are told that glucose has 6 carbon atoms, 12 hydrogen atoms and 6 oxygen atoms, therefore the molecular formula must be: C$_{6}$H$_{12}$O$_{6}$
The greatest common factor of 6, 12 and 6 is 6, so you divide the number of atoms of each by six to maintain the same ratio of each element and you get: C$_{1}$H$_{2}$O$_{1}$ or C$_{}$H$_{2}$O$_{}$, the empirical formula.