If 2.10 kJ of heat is needed to raise the temperature of a sample of metal from 10.°C to 28°C, how many kilojoules of heat will be required to raise the temperature of the same sample of metal from 34°C to 57°C?

Q=mc∆t

or
mc=Q/∆t

where
m = mass
c = specific heat
delta t = change in temperature

since we know that m and c are constant and since you know the values of Q and ∆t, just set those pairs of Q and ∆t equal!

Q1/∆t1 = Q2/∆t2

solve for Q2