document.write( "Question 1051894: School A and School B have taken a field trip to a professional baseball game. School A took eight vans and eight buses to get it's 240 students to the game. School B took 4 vans and one bus to get it's 54 students to the game. Find the number of students that were in each van and bus. \n" ); document.write( "
Algebra.Com's Answer #667345 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+a+\" = number in a van
\n" ); document.write( "Let \"+b+\" = number in a bus
\n" ); document.write( "------------------------------
\n" ); document.write( "(1) \"+8a+%2B+8b+=+240+\"
\n" ); document.write( "(2) \"+4a+%2B+1%2Ab+=+54+\"
\n" ); document.write( "--------------------------
\n" ); document.write( "Multiply both sides of (2) by \"+2+\"
\n" ); document.write( "and subtract (2) from (1)
\n" ); document.write( "(1) \"+8a+%2B+8b+=+240+\"
\n" ); document.write( "(2) \"+-8a+-+2b+=+-108+\"
\n" ); document.write( "--------------------------
\n" ); document.write( "\"+6b+=+132+\"
\n" ); document.write( "\"+b+=+22+\"
\n" ); document.write( "and
\n" ); document.write( "(2) \"+4a+%2B+1%2A22+=+54+\"
\n" ); document.write( "(2) \"+4a+=+54+-+22+\"
\n" ); document.write( "(2) \"+4a+=+32+\"
\n" ); document.write( "(2) \"+a+=+8+\"
\n" ); document.write( "-------------------------
\n" ); document.write( "There were 8 students in a van and
\n" ); document.write( "22 students in a bus
\n" ); document.write( "---------------------------------
\n" ); document.write( "check:
\n" ); document.write( "(2) \"+4a+%2B+1%2Ab+=+54+\"
\n" ); document.write( "(2) \"+4%2A8+%2B+1%2A22+=+54+\"
\n" ); document.write( "(2) \"+32+%2B+22++=+54+\"
\n" ); document.write( "(2) \"+54+=+54+\"
\n" ); document.write( "OK
\n" ); document.write( "You can check (1)\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );