For every molecule of carbon dioxide, there is one carbon atom and two oxygen atoms
For every molecule of O2, there are two oxygen atoms.
C + O2 ---> CO2
so for 1 mole of O2 you get 1 mole of CO2
2.5 x 10^24 molecules of O2 would yield 2.5 x 10^24 molecules of carbon dioxide