According to the law of conversion of mass, the mass of a closed system is neither made or taken away in a physical change. It is the same for a chemical change as well.
Therefore, the mass of the substance remains 8g.
Best of Luck!
5.7m questions
7.4m answers