Please help on questions D AND E and please show working out as well so I can understand better thank you only QUESTIONS D AND E

Answer:
d. 87,500 J
e. 49,600 J
Explanation:
The total energy is the heat absorbed by the copper plus the heat absorbed by the water.
d)
E = m₁C₁ΔT + m₂C₂ΔT
E = (1 kg) (390 J/kg/°C) (10 °C) + (2 kg) (4180 J/kg/°C) (10 °C)
E = 87,500 J
e)
E = m₁C₁ΔT + m₂C₂ΔT
E = (2 kg) (390 J/kg/°C) (10 °C) + (1 kg) (4180 J/kg/°C) (10 °C)
E = 49,600 J