1) You need to write the equation: C8H18 + 25/2 O2 → 8CO2 + 9H2O
2) There are several ways to solve this. The easiest, brute force way is to calculate the CO2 produced assuming the octane is the limiting reactant and the oxygen is the limiting reactant. Whichever gives you less CO2 is the LR and the amount of CO2 is the answer.
2.3 g Oct (mole/114.23 g Oct) (8CO2/1 Oct)(44.01 g/mole CO2) = g CO2
Do the same for oxygen. Note that Octane data is 2 SFs and Oxygen data is 3 SFs.