\(Mg+Cl_2\rightarrow\left(t^o\right)MgCl_2\\ 2Mg+O_2\rightarrow\left(t^o\right)2MgO\\ Mg+2AgNO_3\rightarrow Mg\left(NO_3\right)_2+2Ag\\ KOH+HCl\rightarrow KCl+H_2O\\ Ba\left(OH\right)_2+N_2O_5\rightarrow Ba\left(NO_3\right)_2+H_2O\\ 2Al+2NaOH+2H_2O\rightarrow2NaAlO_2+3H_2\)