From the equation it is seen that from one mol of C5H12 five moles of CO2 is formed. So, the number of moles of CO2 may be found from a proportion:
x=4.97×5/1=24.85(mol).