1 quart = 32 fl oz.
This means that if there are 3 quarts, and each quart contains 32 ounces, 3 quarts have 96 ounces.
3 quarts * 32 oz = 96 oz
Now, set up a proportion.
8 oz is to $4.50 as 96 oz is to "x"
8 oz = $4.50
96 oz = x
Cross multiply to solve.
4.50 * 96 = 8x
432 = 8x
Divide both sides by 8:
x = 54
3 quarts of coffee would cost $54.
This doesn't make sense in a real life situation, but I'm confident that it is correct.