document.write( "Question 435792: A person buys 20 tickets. some cost $8 and some cost $5. he spend $118.
\n" );
document.write( "How many of each ticket does he buy? \n" );
document.write( "
Algebra.Com's Answer #301591 by htmentor(1343)![]() ![]() You can put this solution on YOUR website! Let x = the number of $5 tickets \n" ); document.write( "Then 20-x = the number of $8 tickets \n" ); document.write( "Since the total amount spent is $118, we can write: \n" ); document.write( "5x + 8(20-x) = 118 \n" ); document.write( "Collect terms, solve for x: \n" ); document.write( "-3x + 160 = 118 -> 3x = 42 -> x = 14 \n" ); document.write( "So the number of $5 tickets is 14, the number of $8 tickets is 6. \n" ); document.write( " |