\(n_{H_2}=\dfrac{6,72}{22,4}=0,3\left(mol\right)\)
PTHH: Fe + 2HCl --> FeCl2 + H2
______a---------------->a------>a
Mg + 2HCl --> MgCl2 + H2
b----------------->b------->b
=> \(\left\{{}\begin{matrix}56a+24b=10,4\\a+b=0,3\end{matrix}\right.=>\left\{{}\begin{matrix}a=0,1\\b=0,2\end{matrix}\right.\)
=> \(\left\{{}\begin{matrix}m_{FeCl_2}=0,1.127=12,7\left(g\right)\\m_{MgCl_2}=0,2.95=19\left(g\right)\end{matrix}\right.\)
=> mmuối = 12,7 + 19 = 31,7(g)