Answer:
Juan bought 3 bags of popcorn and 8 bags of pretzel
Step-by-step explanation:
Given
[tex]x = popcorn[/tex]
[tex]y = pretzels[/tex]
[tex]Amount = \$52.50[/tex]
Required
Solve graphically
First, we need to represent the cost as an equation.
If popcorn costs 7.50 per bag and pretzel costs 3.75 per bag
The cost is then represented as:
[tex]7.50x + 3.75y = 52.50[/tex]
Next, we represent the quantity as an equation.
Bags of pretzel is 5 more than bags of popcorn
The quantity is then represented as:
[tex]y = x + 5[/tex]
At this stage, we have:
[tex]7.50x + 3.75y = 52.50[/tex]
[tex]y = x + 5[/tex]
See attachment for graph
[tex]7.50x + 3.75y = 52.50[/tex] is represented by the [tex]green\ line[/tex] while the [tex]blue\ line[/tex]represents [tex]y = x + 5[/tex]
At the point of intersection of both lines, we have:
[tex](x,y) = (3,8)[/tex]
This implies that;
Juan bought 3 bags of popcorn and 8 bags of pretzel