Identity of 'X': 'X' is bleaching powder.
Representation: Bleaching powder is represented as Ca(ClO)2 (calcium hypochlorite), though its actual composition is quite complex.
Preparation: Bleaching powder is produced by the action of chlorine on dry slaked lime, Ca(OH)2. The chlorine comes from the electrolysis of brine (the chlor-alkali process).
2Ca(OH)2+2Cl2→Ca(ClO)2+CaCl2+2H2O

The three industrial routes out of common salt, and what each one gives.