\(n_{Fe}=a\left(mol\right),n_{Mg}=b\left(mol\right)\)
\(m_{hh}=56a+24b=10.16\left(g\right)\)
\(n_{H_2}=\dfrac{5.6}{22.4}=0.25\left(mol\right)\)
\(Fe+2HCl\rightarrow FeCl_2+H_2\)
\(Mg+2HCl\rightarrow MgCl_2+H_2\)
\(n_{H_2}=a+b=0.25\left(mol\right)\left(2\right)\)
\(\left(1\right),\left(2\right):a=0.13,b=0.12\)
\(m_{Fe}=0.13\cdot56=7.28\left(g\right)\)
\(m_{Mg}=0.12\cdot24=2.88\left(g\right)\)
\(n_{HCl}=2\cdot n_{H_2}=2\cdot0.25=0.5\left(mol\right)\)
\(C_{M_{HCl}}=\dfrac{0.5}{0.5}=1\left(M\right)\)