The problem says for each batch of cookies, the factory uses 3/8 of a bag o flour.
Yesterday they used 3/4 of a bag.
Let's convert the fraction to x/8 as follows:
3/4 is equivalent to 6/8, then the factory used yesterday 6/8 of flour. If each batch needs 3/8 of a bag of flour, then let's find how many batches the factory made yesterday:
Thus, the factory made 2 batches of cookies yesterday.