Chloride of a metal X is XCl2
By interchanging subscript and writing as superscript:
11X ↗↖ 2Cl⇒X22 ↗↖ Cl1
Therefore, valency of metal X = 2.
Formula of the sulphate:
X2+↗SO42−X22 ↘↙ S2O4⇒22X ↘↙ 2SO4
As valency of both X and SO4 is 2 so dividing by 2 we get 1 but 1 is never written so we get the formula as XSO4
Formula of the hydroxide:
X2+↗OH1−X22 ↘↙ O1H⇒11X ↘↙ 2OH
Dropping 1 and enclosing OH in brackets, we get the formula as X(OH)2
Therefore, we get
Formula of Sulphate : XSO4
Formula of Hydroxide : X(OH)2