Adult tickets to a basketball game cost $5 and student tickets are $1. A total of $2,874 was collected when selling 1,246 tickets. How many of each type of ticket were sole

Sagot :

[tex]x-\ adult\ tickets\\\\y-\ student\ tickets\\\\ \left \{ {{x+y=1246} \atop {5x+1y=2874\ \ | *(-1)}} \right. \\\\ \left \{ {{x+y=1246} \atop {-5x-1y=-2874}} \right. \\+--------\\\\addition\ method\\\\ -4x=-1628\ \ \ | divide\ by\ -4\\\\ x=407\\\\ y=1246-x\\\\ y=1246-407=839\\\\ There\ were\ 407\ adult\ tickets\ and\ 839\ student\ tickets.[/tex]
5x+1y=2874
x+y=1246
Im going to use subtraction
5x+y=2874
-x-y=-1246

4x=1628
x=407 adults
407+y=1246
y=839 students