6. \(\left(1\right)MgSO_4+2NaOH\rightarrow Mg\left(OH\right)_2+Na_2SO_4\\ \left(2\right)Mg\left(OH\right)_2+H_2SO_4\rightarrow MgSO_4+2H_2O\\ \left(3\right)Mg\left(OH\right)_2-^{t^o}\rightarrow MgO+H_2O\\ \left(4\right)MgO+2HCl\rightarrow MgCl_2+H_2O\\ \left(5\right)MgCl_2+2AgNO_3\rightarrow Mg\left(NO_3\right)_2+2AgCl\\ \left(6\right)Mg\left(NO_3\right)_2+Na_2CO_2\rightarrow MgCO_3+2NaNO_3\\ \left(7\right)MgCO_3-^{t^o}\rightarrow MgO+CO_2\)