\(n_{XCl_3}=\dfrac{a}{M_X+106,5}\left(mol\right)\)
PTHH: 2X + 6HCl --> 2XCl3 + 3H2
=> \(n_X=\dfrac{a}{M_X+106,5}\left(mol\right)\)
\(n_{X_2\left(SO_4\right)_3}=\dfrac{b}{2.M_X+288}\left(mol\right)\)
PTHH: 2X + 3H2SO4 --> X2(SO4)3 + 3H2
=> \(n_X=\dfrac{b}{M_X+144}\left(mol\right)\)