document.write( "Question 313430: A student gets on the elevator on the first floor. The elevator stops at the second floor to let 3 people get on. It then stops at the third floor to let 2 people get off and 5 people get on. There are now 8 people on the elevator. How many people were on the elevator before the student got on it when it was on the first floor?\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I worked backwards: 8+5=13, 13-2=11, 11+3=14 the asnwer is 14? (did not count the student) is this correct?
\n" ); document.write( "

Algebra.Com's Answer #224110 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
Let's work it forward and see.
\n" ); document.write( "Let's say there were \"X\" people in the elevator when the student got on.
\n" ); document.write( "First floor: \"+X%2B1\"
\n" ); document.write( "Second floor: \"%28X%2B1%29%2B3=X%2B4\"
\n" ); document.write( "Third floor: \"%28X%2B4%29%2B5-2=X%2B7=8\"
\n" ); document.write( "\"X%2B7=8\"
\n" ); document.write( "\"X=1\"
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "Check the answer
\n" ); document.write( "1st floor:\"+1\" person+student=\"2+\"
\n" ); document.write( "2nd floor:\"2%2B3=5\"
\n" ); document.write( "3rd floor:\"5%2B5-2=8\"
\n" ); document.write( "The answer is verified.
\n" ); document.write( "
\n" );