J.R. S. answered 01/20/21
Ph.D. University Professor with 10+ years Tutoring Experience
When given % composition, you can assume 100 g of material and then the % is equal to grams.
40.00 g C x 1 mol C /12 g = 3.33 moles C
6.71 g H x 1 mol H / 1 g = 6.71 moles H
53.28 g O x 1 mol O / 16 g = 3.33 moles O
Mole ration of C : H : O = 1 : 2 : Empirical formulal = CH2O