Cobalt chloride when dissolved in water forms pink colored complex $X$ which has octahedral geometry. This solution on treating with cone $HCl$ forms deep blue complex, $\underline{Y}$ which has a $\underline{Z}$ geometry $X, Y$ and $Z$, respectively, are