Brenda's mother made cookies for 34 guests but 32 guests did not come. If she prepared 40 cookies and each guest had the same number of cookies How many did each of them have?
There were 34 guests total. 
32 guests did not come. 
That means that 2 guests came. 
If she prepared 40 cookies and each guest had the same number of cookies, then each guest would have had 10 cookies.