document.write( "Question 1119157: A basketball team sells tickets that cost​ $10, $20,​ or, for VIP​ seats,​ $30. The team has sold 3357 tickets overall. It has sold 157 more​ $20 tickets than​ $10 tickets. The total sales are ​$64 comma 64,640. How many tickets of each kind have been​ sold?\r
\n" ); document.write( "\n" ); document.write( "# $10 tickets sold
\n" ); document.write( "# $20 tickets sold
\n" ); document.write( "# $30 tickets sold
\n" ); document.write( "

Algebra.Com's Answer #734638 by josgarithmetic(39617)\"\" \"About 
You can put this solution on YOUR website!
x, number of $10 tickets
\n" ); document.write( "y, number of $20 tickets
\n" ); document.write( "z, number of $30 tickets\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Exact translation of the description:
\n" ); document.write( "\"system%28x%2By%2Bz=3357%2Cy-x=157%2C10x%2B20y%2B30z=64640%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Simplifying the system:
\n" ); document.write( "\"system%28x%2By%2Bz=3357%2C-x%2By=157%2Cx%2B2y%2B3z=6464%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Eliminating x is easily done:
\n" ); document.write( "\"system%282y%2Bz=3514%2C3y%2B3z=6621%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"system%282y%2Bz=3514%2Cy%2Bz=2207%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Subtract to eliminate z:
\n" ); document.write( "\"highlight%28y=1307%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Find x:
\n" ); document.write( "\"-x%2By=157\"
\n" ); document.write( "\"x-y=-157\"
\n" ); document.write( "\"x=y-157\"
\n" ); document.write( "\"x=1307-157\"
\n" ); document.write( "\"highlight%28x=1150%29\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Finish for z:
\n" ); document.write( "\"z=3357-x-y\"
\n" ); document.write( "\"z=3357-1150-1307\"
\n" ); document.write( "\"highlight%28z=900%29\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "checking the revenue:
\n" ); document.write( "\"10%2A1150%2B20%2A1307%2B30%2A900\"
\n" ); document.write( "\"64640\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "SOLUTION:
\n" ); document.write( "1150 of the $10 tickets
\n" ); document.write( "1307 of the $20 tickets
\n" ); document.write( "900 of the $30 tickets
\n" ); document.write( "
\n" );