Answer:
![MgCl_2+2NaOH\rightarrow 2NaCl+Mg(OH)_2](https://img.qammunity.org/2021/formulas/chemistry/college/qh3s9d5dgbn2flsd7bomdd6yv2xpw8m8xg.png)
Step-by-step explanation:
Hello.
In this case, since aqueous magnesium chloride reacts with aqueous sodium hydroxide, a precipitate product, magnesium hydroxide is formed as well as aqueous sodium chloride as shown below:
![MgCl_2+NaOH\rightarrow NaCl+Mg(OH)_2](https://img.qammunity.org/2021/formulas/chemistry/college/o3ua0826i0wb2hdhhrqrzmzqnc942orc1c.png)
However, since there are two chlorine atoms at the reactants we need a 2 before NaCl on the products in order to balance it. Moreover, there one OH at the reactants and two OH at the products, that is why we also add a 2 before NaCl as shown below:
![MgCl_2+2NaOH\rightarrow 2NaCl+Mg(OH)_2](https://img.qammunity.org/2021/formulas/chemistry/college/qh3s9d5dgbn2flsd7bomdd6yv2xpw8m8xg.png)
Best regards!