The first step to solve this question is to assume that the percent of each element is the mass of the corresponding element. Then divide it by the corresponding molecular mass.
Divide all the results by the minimum result, it means, divide all the results by 3.33:
These results will be the subscripts of each of the compounds of the empiric formula. It means that the empiric formula is:
To find the molecular formula, find the molecular weight of the empiric formula:
Now, divide the molecular weight of the molecular formula by the molecular weight of the empiric formula:
Multiply the subscripts of the empiric formula by this value to find the molecular formula. It means that the subscript of C is 4, of H is 8 and of O is 4. Then the molecular formula is:
It means that the correct answer is the last choice C4H8O4.