document.write( "Question 492243: Please help me. 400 people were at a baseball game. Student tickets are $2. Adult tickets are $3. Total ticket sales were $1050. How many of each tickets were sold. \n" ); document.write( "
Algebra.Com's Answer #334976 by srw491(2)\"\" \"About 
You can put this solution on YOUR website!
150 student tickets, 250 adult tickets\r
\n" ); document.write( "\n" ); document.write( "let x=student tickets, y=adult tickets
\n" ); document.write( "need 2 equations:
\n" ); document.write( "1) 2x+3y=1050
\n" ); document.write( "2) x+y=400
\n" ); document.write( "substitute: y=400-x into first equation
\n" ); document.write( "2x+3(400-x)=1050
\n" ); document.write( "2x+1200-3x=1050
\n" ); document.write( "-x=-150 => x=150 substitute back into second equation
\n" ); document.write( "150+y=400
\n" ); document.write( "y=250
\n" ); document.write( "
\n" );