\(n_{H_2}=\dfrac{4,368}{22,4}=0,195\left(mol\right)\)
PTHH: Mg + 2HCl → MgCl2 + H2
Mol: x x
PTHH: 2Al + 6HCl → 2AlCl3 + 3H2
Mol: y 1,5y
Ta có: \(\left\{{}\begin{matrix}24x+27y=3,87\\x+1,5y=0,195\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}x=0,06\\y=0,09\end{matrix}\right.\)
\(\Rightarrow\%m_{Mg}=\dfrac{0,06.24.100\%}{3,87}=37,21\%\)
\(\%m_{Al}=100-37,21=62,79\%\)