If you had 45 cookies and each bag has 9 cookies How many bags of cookies do you have?
There are 45 cookies. 
Each bag has 9 cookies. 

How many bags of cookies do you have?

We can divide 45 by 9 to find out how many bags of cookies we have. 

45 divided by 9 is 5. 

We have 5 bags of cookies.