Answer:
![3s+4p=26](https://img.qammunity.org/2021/formulas/mathematics/middle-school/3zj08dqlwv7chdx37s1hfujxlmoukirkgi.png)
![s+p=7](https://img.qammunity.org/2021/formulas/mathematics/middle-school/3oqfns8tk3yd7gj9rtznk2ktkcth5hc6lr.png)
2 sodas and 5 popcorn bags
Explanation:
Let
be the number of sodas Shauna bought, and
be the number of popcorn bags. We know that each soda costs $3 and each popcorn bag costs $4, and the total amount she spend is $26; thus we have:
And since Shauna bought 7 things, we have:
![s+p =7](https://img.qammunity.org/2021/formulas/mathematics/middle-school/wcv3flb6tjsn5loadutewh141jvkn34hhz.png)
Thus we have two equations, and we solve them by first solving for p in the second equation and substituting that value onto the first equation:
![p=7-s](https://img.qammunity.org/2021/formulas/mathematics/middle-school/wff7lhzwfijgpyahf31hypjmmfgmbavb3o.png)
put this into the first equation and get:
![3s+4(7-s)=26](https://img.qammunity.org/2021/formulas/mathematics/middle-school/vbr73yyzf3wqlrtjpr7lwcyx3u9n87e8pu.png)
![3s+28-4s=26](https://img.qammunity.org/2021/formulas/mathematics/middle-school/kjbduikjlu4563yl3qvq7z54i7h6olh1dp.png)
![s=2](https://img.qammunity.org/2021/formulas/mathematics/middle-school/g5q3wxaulugzhth1m7y8epvxrmmghm6rof.png)
So Shauna bought 2 sodas.
Putting this value into
![s+p=7](https://img.qammunity.org/2021/formulas/mathematics/middle-school/3oqfns8tk3yd7gj9rtznk2ktkcth5hc6lr.png)
we get
![p=5](https://img.qammunity.org/2021/formulas/mathematics/middle-school/v4ntax27h6dslxaovo54w768t48993yng7.png)
Shauna bought 5 popcorn bags.