You use 2.80 g of NaHCO3, and determined that 2.83 g of carbon dioxide ar produced.

Convert the mass of NaHCO3 to moles:
Convert the mass of CO2 to moles:

mols = grams/molar mass