\(\begin{cases} m_{NaOH}=\dfrac{150.20\%}{100\%}=30(g)\\ m_{MgCl_2}=\dfrac{80.59,375\%}{100\%}=47,5(g) \end{cases} \Rightarrow \begin{cases} n_{NaOH}=\dfrac{30}{40}=0,75(mol)\\ n_{MgCl_2}=\dfrac{47,5}{95}=0,5(mol) \end{cases}\\ PTHH:2NaOH+MgCl_2\to Mg(OH)_2\downarrow+2NaCl\\ \text {Vì }\dfrac{n_{NaOH}}{2}<\dfrac{n_{MgCl_2}}{1} \text {nên }MgCl_2 \text { dư}\\ a,n_{Mg(OH)_2}=\dfrac{1}{2}n_{NaOH}=0,375(mol)\\ \Rightarrow m_{Mg(OH)_2}=0,375.58=21,75(g)\\ b,n_{NaCl}=m_{NaOH}=0,75(mol)\\ \Rightarrow m_{CT_{NaCl}}=0,75.58,5=43,875(g)\\ m_{dd_{NaCl}}=150+80-21,75=208,25(g)\\ \Rightarrow C\%_{NaCl}=\dfrac{43,875}{208,25}.100\%\approx 21,07\%\)