Mr. Sanchez’s class sold 51 snickers and Mr. Kelly’s class sold 31 bottles of fruit juice.
Step-by-step explanation:
Step 1:
Assume x is the number of snickers sold and y is the number of fruit juices sold. It is given that both the classes sold 82 items in total. so
[tex]x + y = 82[/tex], take this as equation 1.
It is also given they both earned $115.56 out of which snickers sold for $1.50 each and fruit juice sold for $1.26 each. So,
[tex]1.50x + 1.26y = 115.56[/tex], take this as equation 2.
Step 2:
Now we solve these equations.
Equation 1 can also be, [tex]y = 82 - x[/tex], take this as equation 3.
Substitute equation 3 in 2,
[tex]1.50x + 1.26(82-x) = 115.56,[/tex]
[tex]1.50x + 103.32-1.26x=115.56.[/tex]
Taking the known values to the right and keeping the unknown x values on the right, we get
[tex]0.24x = 115.56-103.32 = 12.24[/tex]
[tex]0.24x = 12.24, x = 51.[/tex]
Substitute this is equation 1,
[tex]x + y = 82, y = 82 - x, y = 82 - 51 = 31.[/tex]
So Mr. Sanchez’s class sold 51 snickers and Mr. Kelly’s class sold 31 bottles of fruit juice.