Given reaction is
HgO→Hg+O2
We see that O=2 on RHS and O=1 on LHS.
∴ Multiply LHS by 2 to balance oxygen reaction becomes,
2HgO→Hg+O2
Now, we see that Hg=1 on RHS and Hg=2 on LHS.
∴ Multiply Hg by 2.
Balanced reaction is
2HgO(s)△−→2Hg(l)+O2(g)
Reaction type – Thermal Decomposition