The combustion of a compound which contains only C and H yields 2.58 g of CO2 and 0.53 g of H2O. What is the empirical formula of the compound?

mols CO2 = mols C = 2.58/molar mass CO2 = ?

mols H = 2*mols H2O = 0.53/molar mass H2O = ?
mols C = approx 0.06
mols H = 0.06

ratio is 1:1; therefore, empirical formula is CH