write the net ionic equation of the reaction between MgCl2 NaOH

The reaction between magnesium chloride (MgCl2) and sodium hydroxide (NaOH) will result in the formation of magnesium hydroxide (Mg(OH)2) and sodium chloride (NaCl).

The balanced chemical equation is:
MgCl2 + 2NaOH → Mg(OH)2 + 2NaCl

The net ionic equation is:
Mg2+ + 2OH- → Mg(OH)2