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 #301590 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
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( "-----------
\n" ); document.write( "Quantity Equation: e + f = 20 tickets
\n" ); document.write( "Value Equation::: 8e +5f = 118 dollars
\n" ); document.write( "-------------------------------------------
\n" ); document.write( "Multiply thru the Quantity Eq. by 8:
\n" ); document.write( "8e + 8f = 8*20
\n" ); document.write( "8e + 5f = 118
\n" ); document.write( "-------------------
\n" ); document.write( "Subtract and solve for \"f\":
\n" ); document.write( "3f = 42
\n" ); document.write( "f = 14 (# of $5 tickets bought)
\n" ); document.write( "---------
\n" ); document.write( "Solve for \"e\":
\n" ); document.write( "e + f = 20
\n" ); document.write( "e + 14 = 20
\n" ); document.write( "e = 6 (# of $8 tickets bought)
\n" ); document.write( "=================================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "=============
\n" ); document.write( "
\n" );