Answer:
[tex]3s+4p=26[/tex]
[tex]s+p=7[/tex]
2 sodas and 5 popcorn bags
Step-by-step explanation:
Let [tex]s[/tex] be the number of sodas Shauna bought, and [tex]p[/tex] 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:
[tex]3s+4p=26[/tex]
And since Shauna bought 7 things, we have:
[tex]s+p =7[/tex]
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:
[tex]p=7-s[/tex]
put this into the first equation and get:
[tex]3s+4(7-s)=26[/tex]
[tex]3s+28-4s=26[/tex]
[tex]s=2[/tex]
So Shauna bought 2 sodas.
Putting this value into [tex]s+p=7[/tex]
we get
[tex]p=5[/tex]
Shauna bought 5 popcorn bags.