document.write( "Question 19789: You are in line at a ticket window. There are two more people ahead of you than there are behind you. In the entire line, there are three times as many people as there are behind you. How many people are ahead of you in line? \n" ); document.write( "
Algebra.Com's Answer #9566 by xcentaur(357)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "You are in line at a ticket window.
\n" ); document.write( "
Cool,then?
\n" ); document.write( "

\n" ); document.write( "
\n" ); document.write( "There are two more people ahead of you than there are behind you.

\n" ); document.write( "Let the people behind you be x number of people.
\n" ); document.write( "Then the number of people ahead of you are (x+2).
\n" ); document.write( "

\n" ); document.write( "
\n" ); document.write( "In the entire line, there are three times as many people as there are behind you.

\n" ); document.write( "so the number of people behind you is x
\n" ); document.write( "the entire line has three times x people = 3x
\n" ); document.write( "

\n" ); document.write( "How many people are ahead of you in line?
\n" ); document.write( "Look at it this way:
\n" ); document.write( "you have (x+2) people ahead of you
\n" ); document.write( "then you are standing there
\n" ); document.write( "then you have x number of people behind you
\n" ); document.write( "**so all these people put together make the total number of people in the line.
\n" ); document.write( "total number of people=(x+2)+1+x=(2x+3)
\n" ); document.write( "but the question tell us that total number of people in the line is 3x
\n" ); document.write( "**so we get,
\n" ); document.write( "3x=2x+3
\n" ); document.write( "3x-2x=3
\n" ); document.write( "x=3
\n" ); document.write( "


\n" ); document.write( "remember x stands for the people behind you in the line
\n" ); document.write( "so you have 3 people behind you in the line
\n" ); document.write( "the question says there are (x+2) people ahead of you
\n" ); document.write( "so there are (3+2)=5 people ahead of you in the line.
\n" ); document.write( "


\n" ); document.write( "Hope this helps,
\n" ); document.write( "Prabhat \n" ); document.write( "

\n" );