The water will cool as it supplies the heat needed to melt the ice.
(The water; will cool; T:as it supplies the heat) (it; supplies; the heat needed) (the heat; needed; to melt the ice)
The water it the heat
will cool supplies needed
T:as it supplies the heat
the heat needed
to melt the ice