the balanced equation for this reaction is
2Fe2O3 + 3C → 4Fe + 3CO2
meaning that the mole ratio between iron oxide and carbon dioxide is 2:3
then you can use that value to scale it over
10 mol CO2 x 2 mol Fe2O3 / 3 mol CO2 = 6.67 mol Fe2O3
meaning that 6.67 moles of iron oxide are required to produce 10 moles of carbon dioxide