So we have 2kg of water increasing in temperature by 2.76 degrees. This gives us 4.1872kg2.76C = 23.1kJ of energy.
1 gram of the fuel is given by 28.5MJ/kg * 0.001kg = 28.5kJ of energy.
Subtracting the energy the water took from the fuels total energy leaves the energy absorbed by the metal parts: 28.5-23.1 = 5.4kJ.
Since this was raised by the same 2.76C we can say that the heat capacity is 1.95kJ/C. Notice the units, since we don't not know the mass of the can.