document.write( "Question 243093: I need help setting up this problem. Thanks\r
\n" ); document.write( "\n" ); document.write( "Red cards are worth 3 credits, while blue cards are worth 5 credits. You need any combination of 20 cards to play a game.\r
\n" ); document.write( "\n" ); document.write( "With 84 credits to buy cards , how many of each type of card will you have when you play?
\n" ); document.write( "

Algebra.Com's Answer #178103 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
Red cards are worth 3 credits, while blue cards are worth 5 credits. You need any combination of 20 cards to play a game.\r
\n" ); document.write( "\n" ); document.write( "With 84 credits to buy cards , how many of each type of card will you have when you play?
\n" ); document.write( "----------------
\n" ); document.write( "Equations:
\n" ); document.write( "Quantity Equation:: r + b = 20 cards
\n" ); document.write( "Credit Equation::: 3r + 5b = 84
\n" ); document.write( "----------------------------------------
\n" ); document.write( "Multiply thru the Quantity Equation by 3 to get:
\n" ); document.write( "3r + 3b = 60
\n" ); document.write( "Subtract that from the Credit Equation to get:
\n" ); document.write( "2b = 24
\n" ); document.write( "b = 12 (# of blue card needed)
\n" ); document.write( "---
\n" ); document.write( "Since r + b = 20, r = 8 (# of red card needed)
\n" ); document.write( "============================================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" ); document.write( "
\n" );