To find which case is the better deal, we need to find the price per ounce of each bottle.
To do that, we just need to divide the price of the bottle by its weight.
For the first bottle, we have that:

For the second bottle, we have that:

The price per ounce of the first bottle is lower, so the first shampoo is a better deal.