Answer:
28.9 moles of KClO3 x (3 moles O2 / 2 moles KClO3) = 43.35 moles of O2
To convert moles to grams, you'll need to use the molar mass of O2, which is 32 g/mol.
43.35 moles x 32 g/mol = 1387.2 g of O2
So from 28.9 moles of KCiO3 , 1387.2 grams of O2 will be formed.