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 #540346 by josgarithmetic(39617)\"\" \"About 
You can put this solution on YOUR website!
Price is like a concentration in the unit of dollars per piece. You can use cents per piece in your example if you want.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "L = 10 cents per piece (caramel)
\n" ); document.write( "H = 50 center per piece (chocolate)
\n" ); document.write( "v = unknown, pieces of chocolate
\n" ); document.write( "u = unknown, pieces of caramel
\n" ); document.write( "M = 20 pieces
\n" ); document.write( "T = 6.80/20 dollars per piece, the effective price of per purchase. This price is 0.32 dollars per piece, or 32 CENTS per PIECE.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "These two equations are the system to solve for u and v. You can use the equation for form ONE equation in just the unknown, v.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"highlight_green%28%28Lu%2BHv%29%2FM=T%29\" and \"highlight_green%28u%2Bv=M%29\".\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "A complete lesson is here: Mixture: Two-Part, price or cost, both material amounts unknown - http://www.algebra.com/tutors/mixture-price-two-part-both-parts-unknown.lesson?content_action=show_dev
\n" ); document.write( "
\n" );