\(Đặt:\)
\(\left\{{}\begin{matrix}n_{Mg}=x\left(mol\right)\\\\n_{Fe}=y\left(mol\right)\end{matrix}\right.\)
\(n_{H_2}=\dfrac{6.72}{22.4}=0.3\left(mol\right)\)
\(Mg+2HCl\rightarrow MgCl_2+H_2\\ Fe+2HCl\rightarrow FeCl_2+H_2\)
\(m_{hh}=24x+56y=13.6\left(g\right)\\ n_{H_2}=x+y=0.3\left(mol\right)\)
\(\Rightarrow\left\{{}\begin{matrix}x=0.1\\y=0.2\end{matrix}\right.\)
\(\%Mg=\dfrac{0.1\cdot24}{13.6}\cdot100\%=17.64\%\\ \%Fe=100-17.64=82.36\%\)
\(n_{HCl}=2n_{H_2}=2\cdot0.3=0.6\left(mol\right)\)
\(V_{HCl}=\dfrac{0.6}{2}=0.3\left(l\right)\)
\(m_Y=m_{MgCl_2}+m_{FeCl_2}=0.1\cdot95+0.2\cdot127=34.9\left(g\right)\)