By a rough calculation, you can confirm that if the entire water were to come down in temperature to \(0^{\circ}\)C, the energy released would be enough to melt the ice and some energy will be left over. Therefore, the final state will consist of a mixture 600 g of water ata temperature T between \(0^{\circ}\)C and \(20^{\circ}\)C. Here are the rough calculations. [To simplify we ignore the energy involved with the container.
The energy needed to melt all ice into water:
\begin{align*}
\amp \textrm{1. Raise the temp to }0^{\circ}\text{C}: \ 0.100\ \textrm{kg}\times \frac{\textrm{2000\ J}}{\textrm{kg. C}}\times 15^{\circ}\textrm{C}.\\
\amp \textrm{2. Melt the ice at }0^{\circ}\text{C}: \ 0.100\ \textrm{kg}\times \frac{\textrm{335,000\ J}}{\textrm{kg }}.
\end{align*}
The total needed = 36,400 J.
The energy released when the temperature of the water comes down from \(20^{\circ}\)C to \(0^{\circ}\)C:
\begin{align*}
\amp 0.500\ \textrm{kg}\times \frac{\textrm{4180\ J}}{\textrm{kg. C}}\times 20^{\circ}\textrm{C} = 41,800\ \textrm{J}.
\end{align*}
That means we have more than enough energy to melt all ice and the final temperature will be above \(0^{\circ}\)C. Now, we can set up the equation for \(T\text{.}\)
\begin{align*}
\amp 36,400 J + 0.1\ \textrm{kg}\times \frac{\textrm{4180\ J}}{\textrm{kg. C}}\times T\\
\amp \ \ \ \ \ \ \ \ \ =\left[ \ 0.500\ \textrm{kg}\times \frac{\textrm{4180\ J}}{\textrm{kg. C}} + 0.250\ \textrm{kg}\times \frac{\textrm{ 910\ J}}{\textrm{kg. C}} \right]\ \times (20-T).
\end{align*}
Working out the numerical parts we find
\begin{equation*}
36,400 + 418\ T = 2318(20-T)
\end{equation*}
Solving for \(T\) gives
\begin{equation*}
T = \frac{46400 - 36400}{418+2318} = 3.65^{\circ}\textrm{C}.
\end{equation*}