Linear Programming...

Certain animals in a rescue shelter must have at least 30g of protein and at least 20g of fat per feeding period. These nutrients come from food A, which costs 18 cents per unit and supplies 2g of protein and 4g of fat; and food B, which costs 12 cents per unit and has 6g of protein and 2g of fat. Food B is bought under a long–term contract requiring that at least 2 units of B be used per serving. How much of each food must be bought to produce the minimum cost

Certain animals in a rescue shelter must have at least 30g of protein and at least 20g of fat per feeding period. These nutrients come from food A, which costs 18 cents per unit and supplies 2g of protein and 4g of fat; and food B, which costs 12 cents per unit and has 6g of protein and 2g of fat. Food B is bought under a long–term contract requiring that at least 2 units of B be used per serving. How much of each food must be bought to produce the minimum cost

per serving?

I found this yesterday before my internet connection left me disconnected for eternity. I wanted to do this for practice yesterday. Let me do it now.