When solid potassium chlorate is heated, it decomposes to form solid potassium chloride and oxygen gas. express your answer as a balanced chemical equation. identify all of the phases in your answer?