document.write( "Question 684844: University theater sold 515 tickets for a play. Tickets cost $20 per adult and $13 per senior citizen. If total receipts were $7822, how many senior tickets were sold? \n" ); document.write( "
Algebra.Com's Answer #424231 by MatrixWoman(6)\"\" \"About 
You can put this solution on YOUR website!
20x+13y=7822
\n" ); document.write( "x+y=515
\n" ); document.write( "x is the number of adults that went to the play and y is the number of seniors that went to the play.
\n" ); document.write( "Take your second equation and solve for y:
\n" ); document.write( "y=515-x
\n" ); document.write( "then substitute what your found for y into the first equation's y:
\n" ); document.write( "20x+13(515-x)=7822
\n" ); document.write( "20x+6695-13x=7822
\n" ); document.write( "7x+6695=7822
\n" ); document.write( "7x=1127
\n" ); document.write( "x=161
\n" ); document.write( "Then plug in 161 for x into your second equation to find y:
\n" ); document.write( "161+y=515
\n" ); document.write( "y=354
\n" ); document.write( "Then to double check plug in 354 for y in your first equation to find x:
\n" ); document.write( "20x+13(354)=7822
\n" ); document.write( "20x+4602=7822
\n" ); document.write( "20x=3220
\n" ); document.write( "x=161 (It worked!!)
\n" ); document.write( "161 adults went, and 354 seniors went to the play.
\n" ); document.write( "I hope this helps :)
\n" ); document.write( "
\n" );