A hot piece of metal is put in water and the water absorbs 760 J of energy. How much energy did the hot piece of metal have?