The values for the three jars are,

Their costs are written below respectively,

To calculate for the unit costs, we divide each cost by the amount of jars.
For the 32-oz jars,

For the 16-oz jars,

For the 8-oz jars,

To check for the best buy, it will be the one that gives the least unit cost.
From the calculations of the unit cost of the jars done, we could see that 32-oz jars gave us the least cost price.
Hence, the best buy is 32-oz jars which gave us $0.175 unit cost.