For the first deal we get 6 goodie bags for $12, let's find how much each goodie bag cost in this case by dividing $12 by 6:
In the first deal, each goodie bag costs $2.
For the second deal, we get 4 goodie bags for $12, let's also find how much is 1 goodie bag in the scenario:
In the second deal, each goodie bag costs $3.
The better deal is the first one because each goodie bag is cheaper than in the second deal.
Answer: $12 for 6 goodie bags is the better deal