document.write( "Question 1150324: tickets to a school basketball game cost $4 for students and $7 for adults. At the end of the night, 168 tickets are sold for a total of $861. How many student tickets were sold \n" ); document.write( "
Algebra.Com's Answer #771699 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+a+\" = number of student tickets sold
\n" ); document.write( "Let \"+b+\" = number of adult tickets sold
\n" ); document.write( "-----------------------------------------------
\n" ); document.write( "(1) \"+a+%2B+b+=+168+\"
\n" ); document.write( "(2) \"+4a+%2B+7b+=+861+\"
\n" ); document.write( "------------------------------
\n" ); document.write( "Multiply both sides of (1) by \"+4+\" and
\n" ); document.write( "subtract (1) from (2)
\n" ); document.write( "(2) \"+4a+%2B+7b+=+861+\"
\n" ); document.write( "(1) \"+-4a+-+4b+=+-672+\"
\n" ); document.write( "------------------------------
\n" ); document.write( "\"+3b+=+189+\"
\n" ); document.write( "\"+b+=+63+\"
\n" ); document.write( "and
\n" ); document.write( "(1) \"+a+%2B+b+=+168+\"
\n" ); document.write( "(1) \"+a+%2B+63+=+168+\"
\n" ); document.write( "(1) \"+a+=+105+\"
\n" ); document.write( "105 student tickets were sold
\n" ); document.write( "-----------------------------------
\n" ); document.write( "check:
\n" ); document.write( "(2) \"+4a+%2B+7b+=+861+\"
\n" ); document.write( "(2) \"+4%2A105+%2B+7%2A63+=+861+\"
\n" ); document.write( "(2) \"+420+%2B+441+=+861+\"
\n" ); document.write( "(2) \"+861+=+861+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" );