Answer:
$31.50
Explanation:
To solve this problem, we need to use the rule of three, which is based on ratios and proportional relationships.
The ratio that shows the cost of pasta is:

Which means that they charge $12 per 8 pounds of pasta.
Now, it would be help if we use the given ratio to apply the rule of three. Looking for a ratio per pound of pasta would be waste of time, and could confuse a lot. So, we just use the given ratio.
If 8 pounds of pasta costs $12, how much would be 21 pounds of pasta?

Therefore, according to the given ration, it would cost $31.50 to get 21 pounds of pasta.