a 5.15g sample of a hydrocarbon is burned in oxygen, producing 15.6g of carbon dioxide and 8.45g of water. Assuming an excess of oxygen, what is the empirical formula of the hydrocarbon?

how do i set this problem up and how do i solve it?