In a chemical reaction, the law of conservation of mass states that the total mass of the reactants must equal the total mass of the products.
In your reaction, calcium carbonate (CaCO3) decomposes to form carbon dioxide (CO2) and calcium oxide (CaO).
According to the reaction:
\[ \text{CaCO}_3 \rightarrow \text{CO}_2 + \text{CaO} \]
If the scientist starts with 30 grams of CaCO3, the total mass of the products (CO2 and CaO) will also be 30 grams.
So, the total mass of the products is 30 grams.