The chemical formula of mercury ion is hg+ & cloride ion is cl-
So combining this the chemical formula of mercury chloride is
hg+ + cl- -> hgcl
So combining this the chemical formula of mercury chloride is
hg+ + cl- -> hgcl