document.write( "Question 1036571: A teacher buys 50 train tickets for a school trip for a total cost of $1,200. She buys x number of student tickets for $20 each. She also buys y number of adult tickets for $30 each. \n" ); document.write( "
Algebra.Com's Answer #651251 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
x+y=50;
\n" ); document.write( "20x+30y=1200
\n" ); document.write( "20x+20y=1000, multiplying the top by 20
\n" ); document.write( "-20x-30y=-1200, subtracting the second.
\n" ); document.write( "-10y=-200
\n" ); document.write( "y=20 adult tickets ($600)
\n" ); document.write( "x=30 student tickets ($600)
\n" ); document.write( "They add to $1200.
\n" ); document.write( "
\n" ); document.write( "
\n" );