Answer:
250 candy bars and 500 gummi bears
Explanation:
Let x be the amount of candy bars they sold and y be the amount of gummi bears they sold.
We can use this to set up a system of equations:
x+y=750
2x+1.5y=1250
We can change the first equation into:
x=750-y
Then, we can solve the system of equations by substitution (substitute 750-y for x)
2(750-y)+1.5y=1250
1500-2y+1.5y=1250
1500-0.5y=1250
Add 1500 to both sides
-0.5y=-250
Divide both sides by -0.5
y=500
x=750-500=250
They sold 250 candy bars and 500 gummi bears