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?

1 answer

i just need to add that i need to know how to set up the problem not just the answer