q1 = heat to move ice at -22 to the melting point of zero C.
q1 = mass x specific heat ice x (Tfinal-Tinital)
q2 = heat to convert solid water (ice) at zero C to liquid water at zero C.
q2 = mass x heat fusion.
q3 = heat to move liquid water at zero C to the boiling point at 100 C.
q3 = mass x specific heat water x (Tfinal-Titial)
q4 = heat to convert liquid water at 100 C to steam at 100 C.
q4 = mass water x heat vaporization
q5 = heat to move steam at 100 C to steam at 158 C.
q5 = mass x specific heat steam x (Tfinal-Tinitial)
Total Q = q1 + q2 + q3 + q4 + q5.
Notice that you have only two formulas to memorize. One is for changing phase (at melting and boiling points); the other is with the same phase (from -22 to zero)(from zero to 100) (from 100 to 158). That should keep things simple for you.