document.write( "Question 975648: Suppose that there are two types of tickets to a show: advance and same-day. Advance tickets cost
\n" ); document.write( "$15
\n" ); document.write( " and same-day tickets cost
\n" ); document.write( "$35
\n" ); document.write( ". For one performance, there were
\n" ); document.write( "50
\n" ); document.write( " tickets sold in all, and the total amount paid for them was
\n" ); document.write( "$1150
\n" ); document.write( ". How many tickets of each type were sold?
\n" ); document.write( "

Algebra.Com's Answer #599014 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
1.\"X%2BY=50\"
\n" ); document.write( "2.\"15X%2B35Y=1150\"
\n" ); document.write( "From eq. 1,
\n" ); document.write( "\"15X%2B15Y=750\"
\n" ); document.write( "Subtract from eq. 2,
\n" ); document.write( "\"15X%2B35Y-15X-15Y=1150-750\"
\n" ); document.write( "\"20Y=400\"
\n" ); document.write( "\"Y=20\"
\n" ); document.write( "Then,
\n" ); document.write( "\"X%2B20=50\"
\n" ); document.write( "\"X=30\"
\n" ); document.write( "30 $15 tickets and 20 $35 tickets
\n" ); document.write( "
\n" ); document.write( "
\n" );