If it was actually 8.23 x 1022 molecules and 86.7% yield or 8.23 x 1023 molecules but an 8.67% yield then 2.28g is correct but for the question you posted 22.8g is correct.
If you transcribed the question correctly then you should contact the person who says 2.28g is correct and ask them to prove it.
The way he did it was:
(8.35 x 1023
molecules/0.867) x (1 mol CO2
/6.02 x 1023
molecules) x (2 mol octane/16 mol CO2
) x (114.2 g octane/1 mole octane
Yeah, I checked it and I did type the question correctly. I'll ask my professor about it, thank you!