\(a)n_{Mg} = a ; n_{Al} = b \Rightarrow 24a +27b = 5,1(1)\\ Mg + 2HCl \to MgCl_2 + H_2\\ 2Al + 6HCl \to 2AlCl_3 + 3H_2\\ n_{H_2} = a + 1,5b = \dfrac{5,6}{22,4} = 0,25(2)\\ (1)(2) \Rightarrow a = 0,1 ; b = 0,1\\ \%m_{Mg} = \dfrac{0,1.24}{5,1}.100\% = 44,44\%\ ;\ \%m_{Al} = 100\% -44,44\% = 55,56\%\\ b) n_{MgCl_2} = n_{Mg} = 0,1 \Rightarrow m_{MgCl_2} = 0,1.95 = 9,5(gam)\\ n_{AlCl_3} = n_{Al} = 0,1 \Rightarrow m_{AlCl_3} = 0,1.133,5 = 13,35(gam)\\ c)n_{HCl} = 2n_{Mg} + 3n_{Al} = 0,5(mol) \Rightarrow m_{dd\ HCl} = \dfrac{0,5.36,5}{3,65\%} = 500(gam)\)
\(m_{dd\ sau\ pư} = 5,1 + 500 - 0,25.2 = 504,6(gam)\\ C\%_{MgCl_2} = \dfrac{9,5}{504,6}.100\% = 1,89\%\\ C\%_{AlCl_3} = \dfrac{13,35}{504,6}.100\% = 2,65\%\)