The popcorn balls cost $1.00 each
Jumbo candy bars cost $1.50 each
This week they have made a total of $229 and have sold 79
popcorn balls.
First, let's make a function with includes this information.
Let's say that popcorn balls are x and Jumbo candy bars are y.
So the function would be
1.00x+ 1.50y = 229
We already have the x value which represents the total of popcorn balls sold this week, so replace this value in the function:
1.00x+ 1.50y = 229
1.00(79)+ 1.50y = 229
79.00 + 1.50y = 229
Solve the equation for y to find the total of candy bars sold.
79 + 1.50y = 229
1.50y = 229 - 79
1.50y = 150
y = 150/1.50
y = 100
So the have sold 100 candy bars this week