For a summer science class, a teacher ordered sets of marbles.
- Each set of marbles contained 12 marbles.
- There were 14 sets of marbles.
- The teacher put the marbles into bags, with six marbles in each bag.
How many bags of marbles did the teacher make?