A nutritionist is blending two protein shake mixes. Mix A contains 12 grams of protein per scoop, and Mix B contains 28 grams per scoop. She wants to prepare exactly 40 scoops of a blend that will average 20 grams of protein per scoop.
If Mix A costs $0.50 per scoop and Mix B costs $1.20 per scoop, what is the total cost, in dollars, of the 40-scoop blend?