mass of the gas = 10 g
Further explanation
The law of conservation of mass :
In a closed / isolated system, the total mass of the substance before the reaction will be equal to the total mass of the reaction product.
Reaction

mass before reaction=mass after reaction
