document.write( "Question 939925: An airline is flying from Los Angeles to Albuquerque and making a stop in Phoenix. A ticket from Los Angeles to Phoenix costs $90 and from Los Angeles to Albuquerque $120. A total of 185 passengers boarded the plane in Los Angeles and totaled a fare of $21,000.
\n" ); document.write( "How many passengers stayed in phoenix ?\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I was asked by a teacher to translate the original Spanish word problem into the English language, I believe I succeeded in doing so, but then he asked me to solve it and I was wondering if the correct answer would be x = 40 , y = 145 , as in 40 passengers stayed in Phoenix and 145 continued to Albuquerque.
\n" ); document.write( "

Algebra.Com's Answer #572779 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+n+\" = the number of passengers
\n" ); document.write( "who stayed in Phoenix
\n" ); document.write( "\"+185+-+n+\" = the number who
\n" ); document.write( "did not stay in Phoenix
\n" ); document.write( "-----------------------------------
\n" ); document.write( "\"+90x+%2B+120%2A%28+185+-+x+%29+=+21000+\"
\n" ); document.write( "\"+90x+%2B+22200+-+120x+=+21000+\"
\n" ); document.write( "\"+-30x+=+-1200+\"
\n" ); document.write( "\"+x+=+40+\"
\n" ); document.write( "\"+185+-+x+=+145+\"
\n" ); document.write( "40 passengers stayed in Phoenix and 145 continued to Albuquerque
\n" ); document.write( "You were correct
\n" ); document.write( "-------------------
\n" ); document.write( "check:
\n" ); document.write( "\"+90x+%2B+120%2A%28+185+-+x+%29+=+21000+\"
\n" ); document.write( "\"+90%2A40+%2B+120%2A145+=+21000+\"
\n" ); document.write( "\"+3600+%2B+17400+=+21000+\"
\n" ); document.write( "\"+21000+=+21000+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" );