document.write( "Question 375854: A candy mixture is created with 2 types of candy, one costing $4 per pound and the other $3.50 per pound. How much of each type is needed for a 5 pound box that coast $18? \n" ); document.write( "
Algebra.Com's Answer #267299 by jessica43(140)\"\" \"About 
You can put this solution on YOUR website!
To solve this problem you need to write two separate equations using what you know.
\n" ); document.write( "First, you know that there are two types of candy and together they must total 5 pounds:
\n" ); document.write( "A + B = 5
\n" ); document.write( "This can be rewritten as A = 5 - B.
\n" ); document.write( "Second, you know that candy A costs $4 per pound and candy B costs $3.50 per pound and together they must total $18:
\n" ); document.write( "4A + 3.50B = 18
\n" ); document.write( "Now you can plug in the rewritten first equation into the second equation and solve for B:
\n" ); document.write( "4A + 3.50B = 18
\n" ); document.write( "4(5 - B) + 3.50B = 18
\n" ); document.write( "20 - 4B + 3.50B = 18
\n" ); document.write( "20 - 0.5B = 18
\n" ); document.write( "-0.5B = -2
\n" ); document.write( "B = 4
\n" ); document.write( "So you need 4 pounds of candy B (at $3.50 per pound). Since you need 5 pounds total, this means you need only 1 pound of candy A (at $4 per pound).
\n" ); document.write( "
\n" );