Small quantities of oxygen can be prepared in the laboratory by heating potassium chlorate, KClO₃(s). The equation for the reaction is 2KClO₃ → 2KCl + 3O2. Calculate how many grams of oxygen will be produced when 10 grams of potassium chlorate is heated?