So the equation for energy released in water is
Where Q is the amount of energy released, m is the mass of water, c is the specific heat capacity and
So in your case:
Ensure the units are consistent with the units of the specific heat capacity. In this case this is the case as we are using grams.
Substitute the values in the equation.
The negative energy indicates energy is lost.