\(a,A+2HCl\rightarrow ACl_2+H_2\\ n_{H_2}=\dfrac{3,36}{22,4}=0,15\left(mol\right)\Rightarrow n_A=n_{H_2}=0,15\left(mol\right)\\ \Rightarrow M_A=\dfrac{3,6}{0,15}=24\left(\dfrac{g}{mol}\right)\\ \Rightarrow A\left(II\right):Magie\left(Mg=24\right)\\ b,Mg+2HCl\rightarrow MgCl_2+H_2\\ n_{H_2}=\dfrac{14,6}{36,5}=0,4\left(mol\right)\\ Vì:\dfrac{0,15}{1}< \dfrac{0,4}{2}\Rightarrow HCldư\\ \Rightarrow Sau.p.ứ:MgCl_2,HCldư\\ n_{MgCl_2}=n_{Mg}=0,15\left(mol\right)\\ \Rightarrow m_{MgCl_2}=95.0,15=14,25\left(g\right)\\ n_{HCl\left(dư\right)}=0,4-0,15.2=0,1\left(mol\right)\\ \Rightarrow m_{HCl\left(dư\right)}=0,1.36,5=3,65\left(g\right)\\ m_{chất.sau}=3,65+14,25=17,9\left(g\right)\)