Jon P. answered 01/30/15
Tutor
5.0
(173)
Knowledgeable Math, Science, SAT, ACT tutor - Harvard honors grad
If p is the number of bags of popcorn that were sold, then p + 40 is the number of sodas.
So the amount taken in for popcorn would be .70 p, and the amount taken in for soda would be 1.50 (p + 40).
So the total amount taken in would be the sum of those two, .70 p + 1.50 (p + 40)
Since the total amount was $170, you can write the following equation:
.70 p + 1.50 (p + 40) = 170
To solve it, first simplify:
.70 p + 1.50 (p + 40)
.70 p + 1.50 p + 60 = 170
2.20 p + 60 = 170
Subtract 60 from both sides:
2.20 p = 110
Divide both sides by 2.20
p = 50
So 50 bags of popcorn were sold, and 90 sodas.