A cookie factory uses 1/6 of a bag of flour in each batch of cookies. The factory used 1 1/2 bags of flour yesterday. How many batches of cookies did the factory make?