Example 1 — Bake-sale planning
Show the steps and the answer
Translate the rules: with cupcakes and cookies, and .
Each limit in the problem becomes one inequality.
Test the item limit: , satisfied.
Passing one constraint is not enough; the plan must pass both.
Test the budget: , and is false.
The plan costs $34, which is $4 over the limit.
Find a feasible fix: 13 cupcakes and 4 cookies cost dollars and make 17 items.
That satisfies both inequalities, so it lies in the feasible set.
Answer: No — it violates the budget constraint
Takeaway: Test a candidate against every constraint; failing a single one, here the $30 budget, makes it infeasible.