document.write( "Question 145195: Tickets for a play at the community theater cost $18 for an adult and $10 for a child. If 80 tickets were sold and the total receipts were $1040, how many of each type of ticket were sold? \n" ); document.write( "
Algebra.Com's Answer #105874 by nerdybill(7384)\"\" \"About 
You can put this solution on YOUR website!
Tickets for a play at the community theater cost $18 for an adult and $10 for a child. If 80 tickets were sold and the total receipts were $1040, how many of each type of ticket were sold?
\n" ); document.write( ".
\n" ); document.write( "Let x = adult tickets sold
\n" ); document.write( "and y = child tickets sold
\n" ); document.write( "then
\n" ); document.write( "x + y = 80
\n" ); document.write( "18x + 10y = 1040
\n" ); document.write( ".
\n" ); document.write( "solving eq 1 for x:
\n" ); document.write( "x + y = 80
\n" ); document.write( "x = 80 - y
\n" ); document.write( ".
\n" ); document.write( "plug the value of x above into eq 2 and solve for y:
\n" ); document.write( "18x + 10y = 1040
\n" ); document.write( "18(80 - y) + 10y = 1040
\n" ); document.write( "1440 - 18y + 10y = 1040
\n" ); document.write( "1440 - 8y = 1040
\n" ); document.write( "-8y =-400
\n" ); document.write( "y = 50
\n" ); document.write( ".
\n" ); document.write( "plug the value of y above into eq 1 and solve for x:
\n" ); document.write( "x + y = 80
\n" ); document.write( "x + 50 = 80
\n" ); document.write( "x = 30
\n" ); document.write( ".
\n" ); document.write( "Tickets sold: 30 adult and 50 child
\n" ); document.write( "
\n" ); document.write( "
\n" );