MgCO3 is very insoluble as evidenced by its very small Ksp.
The solubility of MgCO3 at room temperature can be found by Ksp = [Mg2+] [CO32-] = X2.
Solving for X, X = √ Ksp , X = 1.87 x 10-4 M = MgCO3 concentration.
Since this is much smaller that the Mg2+ concentration given, this means that there is Mg2+ added from a source other than MgCO3 (common ion effect).
The added common ion decreases the solubility of MgCO3, and the resulting solubility an be obtained by the following equation: Ksp = 0.06 x [CO32-] where the [CO3] is the resulting solubility of MgCO3.