Latent heat to ice to convert it into water then water to final temperature is equal to cooling of water of hot water to final temperature
Amount of Heat lost is equal to heat gained
Specific heat capacity of water is1cal/kg
0.250×20+0.250×(T)×1=0.5×(20−T)×1
5+0.250T=1−0.5T
4=0.250T
Hence the temperature is 16∘ and mixture is water.