a) Đặt \(\left\{{}\begin{matrix}n_{Mg}=a\left(mol\right)\\n_{Al}=b\left(mol\right)\end{matrix}\right.\) \(\Rightarrow24a+27b=5,1\) (1)
Ta có: \(n_{H_2}=\dfrac{5,6}{22,4}=0,25\left(mol\right)\)
Bảo toàn electron: \(2a+3b=0,5\) (2)
Từ (1) và (2) \(\Rightarrow\left\{{}\begin{matrix}a=0,1\\b=0,1\end{matrix}\right.\)
\(\Rightarrow\left\{{}\begin{matrix}\%m_{Mg}=\dfrac{0,1\cdot24}{5,1}\cdot100\%\approx47,06\%\\\%m_{Al}=52,94\%\end{matrix}\right.\)
b) Bảo toàn nguyên tố: \(n_{HCl}=2n_{H_2}=0,5\left(mol\right)\)
\(\Rightarrow m_{ddHCl}=\dfrac{0,5\cdot36,5}{7,3\%}=250\left(g\right)\)
\(\Rightarrow V_{HCl}=\dfrac{250}{1,2}\approx208,33\left(ml\right)\)