You need to find specific heat of Hg (c), Lfusion of Hg, and TMP of Hg
You then solve Qout = -mc(TMP-Ti) + mLf (Q made positive for out of system - T went down, Lf is exothermic)
Make sure that the units mesh as you are unlikely to find everything KJ and Kg based.
Good luck