The amount of heat needed to increase the temperature of a substance by [tex]\Delta T[/tex] is:
[tex]Q=m C_s \Delta T[/tex]
where
Q is the amount of heat
m is the mass of the substance
Cs is the specific heat capacity of the substance
[tex]\Delta T[/tex] is the variation of temperature
We know the heat added to the block of iron, Q=3760 J, its variation of temperature, [tex]\Delta T=2 K[/tex], and the specific heat capacity of iron, [tex]C_s = 470 J/(kg K)[/tex], so we can re-arrange the previous formula to find the mass of the block:
[tex]m= \frac{Q}{C_s \Delta T}= \frac{3760 J}{(470 J/(kgK))(2 K)}=4 kg [/tex]