Where this goes wrong
reference: 30 g ice at 0 °C → liquid water at 25 °C
melt 10,050 J + warm 3138 J = 13,188 J · ΔHfus 335 · c(ice) 2.09 · c(water) 4.184 J/g·°C
Treating a plateau as q = m·c·ΔT. Multiplying the fusion heat by a ΔT, 45 g × 335 J/g × 40 °C = 603,000 J, invents heat. Melting holds at 0 °C, so 45 g × 335 J/g = 15,075 J, no ΔT.
Skipping the melting plateau. Warming the liquid only, 30 g × 4.184 J/g·°C × 25 °C = 3138 J, leaves the ice unmelted. Melting first costs another 10,050 J.
Stopping at the melting point. 30 g × 335 J/g = 10,050 J melts the ice but leaves it at 0 °C. Warming to 25 °C adds 3138 J.
Using the wrong phase's specific heat. Warming ice with water's 4.184, 20 g × 4.184 × 20 °C = 1673.6 J, overcharges it. Ice's c is 2.09: 20 g × 2.09 × 20 °C = 836 J.