31.7 g CO2 is cooled from a gas at 358 K to a liquid at 213 K. The boiling point of CO2 is 216 K. List the sequential steps and equations needed to determine the heat flow of this change. Is this an exothermic or endothermic change?

358 gas cools to 216 boiling point, condenses to liquid, cools to 213.

step1. mass CO2 x specific heat CO2 gas x (Tfinal-Tinitial) = ?
step2. mass CO2 x heat condensation (negative of heat vaporization) = ?
step 3. mass CO2 x specific heat liquid CO2 x (Tfinal - Tinitial) = ?