The balanced chemical equation for the complete consumption of methane is as given below:
CH4+2O2→CO2+2H2O
24 g of methane corresponds to 24g16g/mol=1.5 mol.
They will require 21×1.5mol=3.0 mol.
Thus, 3 moles of oxygen are required to react completely with 24 g of methane.
2KClO3⟶2KCl+3O2
Thus, 3 moles of oxygen will be supplied by 2 moles of KClO3.