For this case, the first thing we must do is define variables:
x: ounces of oregano
y: ounces of garlic powder
We write the function to find the total cost of the mixture.
We have then:

We substitute the following values to find the total cost:
Four ounces of oregano:

and 2 ounces of garlic powder:

Substituting we have:

Answer:
The total cost of the mixture is given by:
c (4, 2) = 22 $