As 15.0 L of oxygen were produced, one computes this amount in moles considering STP conditions (0°C and 1 atm) for the ideal gas equation as shown below:
Now, since those moles are the actual obtained moles, one computes the theoretical moles of oxygen which are more precisely associated with the needed grams of potassium chlorate as follows:
Finally, we apply the stoichiometry to determine the moles of potassium chlorate as shown below:
10 L are 10/22.4 moles as 1 mole of gas at STP occupies 22.4 L so 0.446 moles but you only get 95% yield so you need to make more than 0.446 moles -- you need 0.446/0.95 = 0.470 moles.
Two moles KClO3 give 3 moles O2 so you need 0.470*(2/3) moles KClO3 = 0.313 moles KClO3 and that has molar mass = 39 + 35.5 + 3*16 = 122.5 g so in g 0.313*122.5 = 38.4 g KClO3</span><span> </span>