Equal moles contain equal number of particles
number of moles of oxygen n =

= 20/32 =0.625
therefore mass of carbondioxide mixed should be =0.625*44 =27.5 g
Now ,total volume contain equal number of molecules of oxygen and carbon dioxide.
So, any fraction of volume also contain equal number of molecules.