\(a)\ n_{Mg} = a\ mol ; n_{Al} = b\ mol\\ \Rightarrow 24a + 27b = 12,9(1)\\ Mg + 2HCl \to MgCl_2 + H_2\\ 2Al + 6HCl \to 2AlCl_3 + 3H_2\\ n_{H_2} = a + 1,5b = \dfrac{14,56}{22,4} = 0,65(2)\\ (1)(2) \Rightarrow a = 0,2 ; b = 0,3\\ \%m_{Mg} = \dfrac{0,2.24}{12,9}.100\% = 37,21\%\\ \%m_{Al} = 100\% - 37,21\% = 62,79\%\)
\(b)\ n_{MgCl_2} = a = 0,2 ; n_{AlCl_3} = b =0,3(mol)\\ C_{M_{MgCl_2}} = \dfrac{0,2}{0,1} = 2M\\ C_{M_{AlCl_3}} = \dfrac{0,3}{0,1} = 3M\)