The heat of formation of \( \text{SO}_2 \) is the heat change when 1 mole of \( \text{SO}_2(g) \) is formed from its elements in their standard states.
By using the given reactions, the heat of formation is found to be \( y - 2x \).
Final Answer: \( y - 2x \, \text{kcal} \).