$n_X=\dfrac{21,3}{X}(mol)$
$n_{Fe}=\dfrac{11,2}{56}=0,2(mol)$
Cho $X$ có hóa trị $m$.
$a)$ Phương trình:
$mFe+3X\to Fe_mX_3$
Do: $\dfrac{n_{Fe}.3}{m}=n_X$
$\to \dfrac{0,6}{m}=\dfrac{21,3}{X}$
$\to 0,6X=21,3m$
$\to X=35,5m$
Với $m=1 \to X=35,5 (Cl)$.
Với $m=2 \to X=71$ (loại).
Với $m=3 \to X=106,4$ (loại).
Vậy $X$ là $\text{Clorua}.$
$b)$ Bảo toàn khối lượng:
$m=m_{X}+m_{Fe}$
$\to m=21,3+11,2=32,5g$