The Formula we use to work out this question is:
Q=m*c*ΔT
Where,
Firstly we want to substitute the values in: (Note, ΔT is Negative as we are lowering the temperature)
Q=0.25kg * 2020J/kg^ C * (-7°C)
This gives us:
Q= -3535 J.
This means that 3535J of thermal energy must be removed from the block of ice in order to lower its temperature by 7°C.