Answer:
see the explanation
the graph in the attached figure
Explanation:
Let
x ----> the number of bags of popcorn
y ---> the number of drinks
we know that
The price of each bag of popcorn was $5
The price of each drink was half the price of a bag of popcorn
so
The price of each drink was $5/2=$2.5
Remember that
The number of bags of popcorn and drinks Judy bought, multiplied by their prices, should equal $30.
The linear equation that represent this situation is
![5x+2.5y=30](https://img.qammunity.org/2020/formulas/mathematics/middle-school/s5x0xi5sqv4r2988a5pwx9scaajp86mk8f.png)
To graph the linear equation , find the intercepts
Find the y-intercept
The y-intercept is the value of y when the value of x is equal to zero
In the context of the situation, the y-intercept represent the number of drinks Judy can buy when the number of bags of popcorn equals zero
so
For x=0
![5(0)+2.5y=30](https://img.qammunity.org/2020/formulas/mathematics/middle-school/9gkswqj7d2sqc9pgw35m7dl851fketokpp.png)
![2.5y=30](https://img.qammunity.org/2020/formulas/mathematics/middle-school/m2rlk8f66r7f00gpce17x77l1zcn9ckl7b.png)
![y=12\ drinks](https://img.qammunity.org/2020/formulas/mathematics/middle-school/l16j05fvs1i7zn3vbzxcpikyhrhr8plq5d.png)
The y-intercept is the point (0,12)
Find the x-intercept
The x-intercept is the value of x when the value of y is equal to zero
In the context of the situation, the x-intercept represent the number of bag of popcorn Judy can buy when the number of drinks equals zero
so
For y=0
![5x+2.5(0)=30](https://img.qammunity.org/2020/formulas/mathematics/middle-school/refhu3ikm14s7dzvdiabffy5pzzrqauy2o.png)
![5x=30](https://img.qammunity.org/2020/formulas/mathematics/middle-school/7khrs4p6xey7oqufh3he63ob8sykz25fs2.png)
![x=6\ bags\ of\ popcorn](https://img.qammunity.org/2020/formulas/mathematics/middle-school/hzxdfyln4ciffra1cza20oisinitnvximx.png)
The x-intercept is the point (6,0)
To graph the line plot the intercepts and join the points
using a graphing tool
The graph in the attached figure