\(X+2H_2O\rightarrow X\left(OH\right)_2+H_2\uparrow\\ X\left(OH\right)_2+2HCl\rightarrow XCl_2+2H_2O\\ n_{HCl}=\dfrac{14,6\%.50}{36,5}=0,2\left(mol\right)\\ \Rightarrow n_X=n_{X\left(OH\right)_2}=\dfrac{n_{HCl}}{2}=\dfrac{0,2}{2}=0,1\left(mol\right)\\ \Rightarrow M_X=\dfrac{2}{0,1}=20\left(\dfrac{g}{mol}\right)\\ Vì:M_X< M_{Mg}\left(20< 24\right)\Rightarrow M_A< M_X\\ \Rightarrow A:Beri\left(Be=9\right)\)