Step 1: Identify Gas X from Deacon's process
In Deacon's process, chlorine gas (Cl$_2$) is produced by catalytic oxidation of hydrogen chloride:
\[ 4HCl + O_2 \rightarrow 2Cl_2 + 2H_2O \]
Thus, X = Cl$_2$
Step 2: Reaction with iodine and water
Chlorine reacts with iodine and water to form iodic acid:
\[ 5Cl_2 + I_2 + 6H_2O \rightarrow 2HIO_3 + 10HCl \]