Chemical Equations and Mass Percentage

When heated, baking soda (sodium hydrogen carbonate) decomposes into washing soda (sodium carbonate), water, and carbon dioxide. Write a balanced chemical equation for this reaction. Find the mass percentage of carbon in both baking soda and washing soda. How do they compare? If 1,000 kg of baking soda is decomposed, what will be the mass of carbon dioxide produced?