$\therefore(\text{x})^2\times\rho_\text{b}\times\text{g}=(\text{x})^2\times\Big(\frac{\text{x}}{5}\Big)\times\rho_{\text{Hg}}\times\text{g}$
$\Rightarrow12^3\times\rho\text{b}=12^2\times\frac{12}{5}\times13.6$
$\Rightarrow\rho_\text{b}=\frac{13.6}{5}\text{gm}/\text{cc}$
After water poured, Let x = Height of water column.$\text{v}_\text{b}=\text{v}_\text{Hg}+\text{v}_\text{w}=12^3$
Where $\text{v}_\text{Hg}$ and $\text{v}_\text{w}$ are volume of block inside mercury and water respectively$\therefore(\text{v}_\text{b}\times\rho_\text{b}\times\text{g})=(\text{v}_\text{Hg} \times\rho_{\text{Hg}}\times\text{g})+(\text{v}_\text{w}\times\rho_\text{w}\times\text{g)}$
$\Rightarrow(\text{v}_\text{Hg}+\text{v}_\text{w})\rho_\text{b}=\text{v}_\text{Hg}\times\rho_{\text{Hg}}\times+\text{v}_\text{w}\times\rho_\text{w}.$
$\Rightarrow(\text{v}_\text{Hg}+\text{v}_\text{w})\times\frac{13.6}{5}=\text{v}_\text{Hg}\times13.6+\text{v}_\text{w}\times1$
$\Rightarrow(12)^2\times\frac{13.6}{5}=(12-\text{x})\times(12)^2\times13.6+(12)^2\times1$
$\Rightarrow\text{x}=10.4\text{cm}$