document.write( "Question 529764: I have 40 bills in my cash drawer. Some are $5 bills. The rest are $10 bills.\r
\n" ); document.write( "\n" ); document.write( "The total amount of the 40 bills is $260.\r
\n" ); document.write( "\n" ); document.write( "How many $5 bills and how many $10 bills are in my cash drawer ???
\n" ); document.write( "

Algebra.Com's Answer #349738 by oberobic(2304)\"\" \"About 
You can put this solution on YOUR website!
Like coin problems, you have to keep track of the count of the bills and their value.
\n" ); document.write( "x = number of $5 bills
\n" ); document.write( "5x = value of the $5 bills
\n" ); document.write( "y = number of $10 bills
\n" ); document.write( "10y = value of the $10 bills
\n" ); document.write( ".
\n" ); document.write( "x + y = 40
\n" ); document.write( "so
\n" ); document.write( "x = 40-y
\n" ); document.write( ".
\n" ); document.write( "5x + 10y = 260
\n" ); document.write( ".
\n" ); document.write( "substitute for x
\n" ); document.write( ".
\n" ); document.write( "5(40-y) + 10y = 260
\n" ); document.write( "200 -5y + 10y = 260
\n" ); document.write( "5y = 60
\n" ); document.write( "y = 12
\n" ); document.write( ".
\n" ); document.write( "x = 40-y
\n" ); document.write( "x = 28
\n" ); document.write( ".
\n" ); document.write( "Check the value to determine if this is the correct answer.
\n" ); document.write( ".
\n" ); document.write( "5*28 = 140
\n" ); document.write( "10 * 12 = 120
\n" ); document.write( "140 + 120 = 260
\n" ); document.write( "Correct.
\n" ); document.write( ".
\n" ); document.write( "Answer: You have 28 $5 bills and 12 $10 bills.
\n" ); document.write( ".
\n" ); document.write( "Done.
\n" ); document.write( "
\n" );