When 1.5g of a hydrocarbon was completely burnt in excess oxygen gas,4.395g of carbon dioxide and 2.70g of water was produced. Determine the empirical formula of the hydrocarbon.(C=12,H=1,O=16)

4.395 / 44.01 = moles carbon

(2.70 / 18.02) * 2 = moles of hydrogen

find the lowest common integer multiple to get the coefficients for C and H