\(Đặt:\left\{{}\begin{matrix}n_{Mg}=x\left(mol\right)\\n_{Al}=y\left(mol\right)\end{matrix}\right.\\Mg+2HCl\rightarrow MgCl_2+H_2\\ 2Al+6HCl\rightarrow2AlCl_3+3H_2\\ \Rightarrow\left\{{}\begin{matrix}24x+27y=10,2\\x+1,5y=0,5\end{matrix}\right.\\ \Rightarrow\left\{{}\begin{matrix}x=0,2\\y=0,2\end{matrix}\right.\\ \Rightarrow\%m_{Mg}=\dfrac{0,2.24}{10,2}.100=47,06\%\\ \%m_{Al}=52,94\%\\ n_{HCl}=2n_{Mg}+3n_{Al}=0,2.2+0,3.2=1\left(mol\right)\\ \Rightarrow V_{HCl}=\dfrac{1}{2}=0,5\left(l\right)\)