Calculate the heat given off by the hot water.

GIVEN:
Original quantity of water (hot water) 50g
Orig.temperature :40°C
Final temperature: 9°C
Final quantity of water: 264g
Increase in quantity of water 214g.

PLEASE KINDLY SHOW ME THE EQUATION FOR THIS THANK YOU. <3