A 5.00 g sample of aluminum pellets (specific heat capacity = 0.89 J/°C·g) and a 10.00 g sample of iron pellets (specific heat capacity = 0.45 J/°C·g) are heated to 100.0°C. The mixture of hot iron and aluminum is then dropped into 98.3 g of water at 21.1°C. Calculate the final temperature of the metal and water mixture, assuming no heat loss to the surroundings.

heat lost by Al + heat lost by Fe + heat gained by H2O = 0

[mass Al x specific heat Al x (Tfinal-Tinitial)] + [mass Fe x specific heat Fe x (Tfinal-Tinitial)] + [mass H2O x specific heat H2O x (Tfinal-Tinitial)] = 0
Substitute and solve for the only unknown which is Tfinal.
Post your work if you get stuck.