Brenda's mother made cookies for 8 guests but 6 guests did not come. If she prepared 18 cookies and each guest had the same number of cookies How many did each of them have?
There were 8 guests in total. 
6 guests did not come. 
That means that 2 guests came. 
Each guest had the same number of cookies. 
There were 18 cookies in total. 

That means that each guest had 9 cookies.