The law of conservation of mass dictates that the total mass of reactants must be equal to the total mass of the products. Thus:
mass(MgO) = mass(Mg) + mass(O)
mass(MgO) = 24 + 16
mass(MgO) = 40 g
The answer is 40 g.
9.5m questions
12.2m answers