To get the units needed, divide the given number of items needed shown in the above portion of table, with the package size given in the below portion. Then multiply with given prices. Round off the numbers to whole numbers.
Now, money needs to be spent in Quality Groceries-
=$ 168.40
Now, money needs to be spent in Fresh Market-

=$ 180.32
So, the answer is option B.