You have 10 grams of C10H10O2. How many moles are present? How many molecules are present?
Well the formula mass is
And so we take the quotient....
And we know that there are
And so we take the product....
How many carbon atoms present in this quantity?