J.R. S. answered 11/01/21
Ph.D. University Professor with 10+ years Tutoring Experience
Looking at the reaction taking place:
Mg2+(aq) + Na2CO3(aq) ==> MgCO3(s) + 2Na+(aq) ... balanced equation
Next, use the stoichiometry of the balanced equation to find the mols of MgCO3 formed, since all of the Mg in the original sample ends up in MgCO3 as a precipitate:
0.0877 mol Na2CO3 x 1 mol Mg / 1 mol Na2CO3 = 0.0877 mols Mg originally present.
Finally, convert mols Mg to grams Mg using the atomic number of 24.3 g/mol
0.0877 mols Mg x 1 mol / 24.3 g = 2.13 g Mg was dissolved