\(CuSO_4+2KOH\rightarrow Cu\left(OH\right)_2+K_2SO_4\\ MgSO_4+2KOH\rightarrow Mg\left(OH\right)_2+K_2SO_4\\ Đặt:a=n_{CuSO_4}\left(mol\right);b=n_{MgSO_4}\left(mol\right)\left(a,b>0\right)\\ \Rightarrow\left\{{}\begin{matrix}160a+120b=68\\98a+58b=37\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}a=0,2\\b=0,3\end{matrix}\right.\\ \%m_{CuSO_4}=\dfrac{0,2.160}{68}.100\%\approx47,059\%\Rightarrow\%m_{MgSO_4}\approx52,941\%\)