Given :
Hg(s) + O2(g) → Hg(I) + SO2(g)
ΔrH0 = – 238.6 kJ
ΔS0 = +36.7 JK-1
T = 273 + 25 = 298 K
ΔSTotal = ?
ΔSTotal = ΔSsys + ΔSsurr
Now,
ΔSsys = 36.7 JK-1
Since the reaction is exothermic, system loses heat to surroundings.
Hence the entropy of the surroundings increases.
ΔHsurr = + 238.6 kJ = 238600 J

∵ ΔSTotal > 0, the reaction is spontaneous.
∴ ΔSTotal = 837.4 JK-1
The reaction is spontaneous.