how much heat is required to convert 40g of ice at -10°c to steam at 120°c

1. convert ice @ -10 C to ice @ 0 C

q1 = mass ice x specific heat ice x (Tfinal - Tinitial)
q1 = mass ice x specific heat ice x [0 - (-10)]
2. melt the ice @ 0 C to liquid water @ 0 C
q2 = mass ice x heat fusion water
3. heat water from 0 C to 100 C.
q3 = mass water x specific heat water x (Tfinal-Tinitial)
q3 = mass water x specific heat water x (100 -0)
4.convert liquid water @ 100 C to steam @ 100 C
q4 = mass water x heat vaporization
5. heat the steam from 100 C to 120 C
q5 = mass steam x specific heat steam x (Tfinal-Tinitial)
q5 = mass steam x specific heat steam x (120 - 100)
The total is what you want so add each step together; i.e.,
qtotal = q1 + q2 + q3 + q4 + q5
Post your work if you get stuck.