A 6.0-mol sample of KClO3 was decomposed according to the equation 2KClO3 --> 2KCl + 3O2. How many moles of O2 are formed?

9.0 mol
2.5 mol
6.0 mol
4.5 mol