document.write( "Question 892194: 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. \n" ); document.write( "
Algebra.Com's Answer #540344 by lwsshak3(11628)\"\" \"About 
You can put this solution on YOUR website!
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.
\n" ); document.write( "***
\n" ); document.write( "let x=pieces of chocolate candy bought
\n" ); document.write( "20-x=pieces of caramel candy bought
\n" ); document.write( ".50x+.10(20-x)=6.80
\n" ); document.write( ".50x+2-.10x=6.80
\n" ); document.write( ".40x=4.80
\n" ); document.write( "x=12
\n" ); document.write( "20-x=8
\n" ); document.write( "She bought 12 pieces of chocolate and 8 pieces of caramel candies.
\n" ); document.write( "
\n" );