Two substances, A and B, initially at different temperatures, come into contact and reach thermal equilibrium. The mass of substance A is 6.40 g and its initial temperature is 20.0 °C . The mass of substance B is 26.1 g and its initial temperature is 52.3 °C . The final temperature of both substances at thermal equilibrium is 47.0 °C .
If the specific heat capacity of substance B is 1.17 J/g⋅°C, what is the specific heat capacity of substance A? Provide a detailed explanation please!