Cordell,
In order to continue to work problems such as these you need to remember how to convert grams to mole; the relationship between the formula of a compound and the moles of the atoms in the compound and Avogadro #.
Remember the relationships between mass → mole compound → mol atoms → # of atoms:
You are given 125 g of C6H12O. which has a molar mass of 180 g/mol
You will need to convert the grams to moles... divide by the molar mass
Also remember the concept that 1 mol of a substance or particle = 6.02 x1023 particles.
For glucose or any compound, the formula represents one mol of the compound but we can look at the individual elements involved in the 1 mol of the substance.
1 mol C6H12O6 has 6 moles of carbon 12 moles hydrogen and 6 moles oxygen. We can use this relationship to get the # of oxygen atoms as follows:
(125 g C6H12O6 ) x (1 mol C6H12O6/180. g C6H12O6) x (6 mol O atoms / 1 mol C6H12O6) x (6.02x1023 O atoms/1 mol O atoms) = 2.51 x1024 atoms