The total number of gifts = x+y.
The inequality is:
Key chains cost $1, Magnets $0.50
Total Cost = x + 0.5y
Inequality is:
Without graphing you can solve system by using substitution:
This is one solution where the maximum x value is given.
So the most keychains that can be purchased is 16. However, because magnets are cheaper, more can be purchased as long as cost remains under 20.
If you solve both inequalities for "y", you get the upper and lower bounds for how many magnets can be purchased given a quantity of keychains.
This is complete solution which gives all possible combinations.
(Graph is Attached)