a) Mg+2HCl--->MgCl2+H2
x--------------------------------x
Fe+2HCl---->FeCl2+H2
y---------------------------y
n H2=4,48/22,4=0,2(mol)
Ta có hệ pt
\(\left\{{}\begin{matrix}24x+56y=8\\x+y=0,2\end{matrix}\right.\Rightarrow\left\{{}\begin{matrix}x=0,1\\y=0,1\end{matrix}\right.\)
%m Mg=0,1.24/8.100%=30%
%m Fe=100-30=70%
b) Theo pthh
n HCl=2n H2=0,4(mol)
m HCl=0,4.36,5=14,6(g)