When Xcm3 of a solution of 0.5M magnesium nitrate were reacted with ammonium carbonate solution, the mass of magnesium carbonate formed was 8.4g. (a) Write the ionic equation for the reaction that took place.(b) Calculate the value of X. (C=12.0,Mg=24.0;O=16. 0)