document.write( "Question 1048279: Tickets of a program at college cost $5 for general admission or $4 with a student ID. If 181 people paid to see a performance and $798 was collected, how many of each type of ticket were sold? \n" ); document.write( "
Algebra.Com's Answer #663894 by addingup(3677)\"\" \"About 
You can put this solution on YOUR website!
let general admission be x and students y
\n" ); document.write( "x+y = 181 subtract y on both sides and you get
\n" ); document.write( "x = 181-y
\n" ); document.write( "and
\n" ); document.write( "5x+4y = 798 substitute for x:
\n" ); document.write( "5(181-y)+4y = 798
\n" ); document.write( "905-5y65+4y = 798
\n" ); document.write( "-y = -107 divide both sides by -1
\n" ); document.write( "y = 107
\n" ); document.write( "There were 107 students and 181-107 = 74 general adm
\n" ); document.write( ">>>>>>>>>>>>>>>>>>>>>>>>>>>>
\n" ); document.write( "Check:
\n" ); document.write( "(107*4)+(74*5) = 798 Correct.
\n" ); document.write( ":
\n" ); document.write( "John
\n" ); document.write( "
\n" ); document.write( "
\n" );