One is to change the water from ice (0 `C) to liquid state.
This energy is 2250000J (given for you)
The other section is to change from liquid state to vapour (100`C) state.
You use the equation: Q = m c ΔT
Q is the energy ( J)
m is the mass of water (kg) therefore, 1000g = 1kg
ΔT is the change of temperature = 100 in this case
c is the specific heat capacity = 4200
So, you have Q = 1 x 4200 x 100
then you add this energy to 2250000 to get the total energy/ answer.