The temperature of a piece of metal of mass 9 g is raised from 10oC…