A solution of ammonium carbonate is mixed with a solution of magnesium nitrate. If magnesium carbonate is insoluble in water, what is the reaction?​