Let heat given by water to cool upto 0∘C=mcΔθ
where m is mass, c is specific heat, Δθ is temperature difference.
Heat taken by ice to melt =mL
where L is latent heat
Also if θ is the temperature of the mixture then.
Heat taken = Heat given mcΔθ=mL+mcΔθ′ 100×1×(50−θ)=10×80+10×1×(θ−0) ⇒500−100=80+0 ⇒11θ=420 ⇒θ=11420=38.2∘