J.R. S. answered 10/02/19
Ph.D. University Professor with 10+ years Tutoring Experience
I would respectfully disagree with @Jesse E. because the question isn't "what is the ratio of octane to H2O or to some other molecule, but is asking the ratio to CO2.
2 C8H18 + 25 O2 ==> 16 CO2 + 18 H2O. So, the ratio of octane to CO2 is, indeed 2:16, but it is also 1:8 and that answer would be correct. In the example cited in the previous answer, it would still be ok to divide all coefficients by say, 3 to obtain A + 2/3B ==> 2C + 1/3D and calculate corresponding ratios. They would not all be whole number ratios, but who says that they have to be?
J.R. S.
10/02/19