The formula for percent composition is:-
Percentage composition = Mass of O2/Mass of CO2 *100
So mass of O2 = 2*Atomic Wt. of oxygen = 2*16 = 32
And mass of CO2 = Atomic Wt of Carbon + 32 = 12 + 32 = 44
Therefore, punching in the masses in the above formula we get-
Percentage composition = 32/44 * 100 = 72.7 % (Answer)