document.write( "Question 901301: There were 13 riders on a bus after the third stop. At each stop, riders got off and on as follows: stop 1--10 off, 15 on; stop 2-- 8 off,20 on; stop 3-- 18off, 3 on. How many riders were on the bus before the first stop? \n" ); document.write( "
Algebra.Com's Answer #546628 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+n+\" = number of riders that
\n" ); document.write( "were on the bus before the first stop
\n" ); document.write( "---------------------------------
\n" ); document.write( "1st stop:
\n" ); document.write( "\"+n+-+10+\" after 10 got off
\n" ); document.write( "\"+n+-+10+%2B+15+=+n+%2B+5+\"
\n" ); document.write( "after 15 got on
\n" ); document.write( "------------------------
\n" ); document.write( "2nd stop:
\n" ); document.write( "\"+n+%2B+5+-+8+=+n+-+3+\"
\n" ); document.write( "after 8 got off
\n" ); document.write( "\"+n+-+2+%2B+20+=+n+%2B+18+\"
\n" ); document.write( "after 20 got on
\n" ); document.write( "-----------------------
\n" ); document.write( "3rd stop:
\n" ); document.write( "\"+n+%2B+18+-+18+=+n+\"
\n" ); document.write( "after 18 got off
\n" ); document.write( "\"+n+%2B+3+\"
\n" ); document.write( "after 3 got on
\n" ); document.write( "---------------
\n" ); document.write( "You are told that
\n" ); document.write( "\"+n+%2B+3+=+13+\"
\n" ); document.write( "\"+n+=+10+\"
\n" ); document.write( "There were 10 riders were on
\n" ); document.write( "the bus before the first stop\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );