Britney is going to the candy store to buy 20 pieces of candy. She is going to buy chocolate candy and caramel candy. Each piece
of chocolate candy costs 50 cents, and each piece of caramel candy costs 10 cents. You know that Britney spent $6.80 and bought 20 pieces of candy. She bought ______ pieces of chocolate.
To start off, you want to make the equations. first, we will make x = chocolate candy and y=caramel candy since thats the order they come in the problem. we know she bought 20 pieces of candy, so we now know our first equation, x+y=20. next, if each chocolate candy costs $.50, that now makes x in our second equation .5x. the y will then be .1y. they then total up to equal $6.80, so our second equation is .5x+.1y=6.8. to then find x, subtract the y from the first equation to get x=20-y. then in the second equation, replace x with y and solve. you then get y=8, so we know britney has 8 caramels. now in the first equation, replace the y to get x+8=20. and now x=12