Let denote the number of ounces of A and theOriginally Posted byCONFUSED_ONE

number of ounces of Y.

Then the number of units of fat are:

.

The number of units of protein:

The number of units of carbohydrate:

The above together with and are

the constraints, and the objective to minimise is the cost:

.

I hope that helps.

RonL