Let s = #slacks to be produced
Our first constraint deals with square yards of wool. We cannot exceed 150 square yards. Using the fact that coats require 3 sq yds and slacks require 5 sq yds, we can identify this constraint.
Our second constraint deals with the number of hours available being 200. Coats require 10 hrs and slacks require 4 hrs. Now we have our second constraint.
We might also assume that some of each will be produced, so we can list the following as constraints as well.
The profit function would be