I want to use combustion analysis to determine the unknown formula of a hydrocarbon that is…

I want to use combustion analysis to determine the unknown
formula of a hydrocarbon that is composed of only hydrogen and
carbon. For 56.0 g of the hydrocarbon, I find that 189.2 g CO2 and
77.5 g H2O are produced.
a. Write the reaction equation for the combustion of an unknown
hydrocarbon CXHY.
b. Using the information provided, determine the empirical
formula of the hydrocarbon.