Dear student,
The empirical formula of the compound = C2H4O
According to the question, the molecular formula of the compound contains 8 atoms of hydrogen which means it is twice the empirical formula.
Hence, the molecular formula is = C4H8O2
Molecular weight of the compound = = 88 g/ mol
Regards