How to compute the amount of heat neede to raise 10g of aluminum & 10g of Iron from 30°C to 60°C

heat = mass * specific heat * temperature change

do the Al and Fe separately