Writing the oxidation numbers of the atoms.
+2Hg−2S++1H−1Cl++1H+5N−2O3→+1H2+2Hg−1Cl4++2N−2O+0S++1H2−2O
The oxidation numbers of S and N have changed.
Hg−2S→0S .........(i)
H+5NO3→+2NO ........(ii)
Increase in Ox. no. of S=2 units per HgS molecule
Decrease in Ox. no. of N=3 units per HNO3 molecule
Multiplying eq. (i) by 3 and eq. (ii) by 2 as to make increase and decrease equal
3HgS+2HNO3→3S+2NO
Balancing Hg and chlorine,
3HgS+2HNO3+12HCl→3H2HgCl4+3S+2NO
To balance hydrogen and oxygen, 4H2O molecules are added on RHS. Hence, the balanced equation is
3HgS+2HNO3+12HCl→3H2HgCl4+3S+2NO+4H2O.