Okay, so the equation can be written as:
where x is number of student tickets, and y is adult tickets
8x + 10y = 1198
x + y = 130
Lets solve for x,
x = 130-y
Put value of x in first equation:
8 (130-y) + 10y = 1198
1040 - 8y + 10y = 1198
1040 + 2y = 1198
2y = 158
y = 79
Since we have to find student tickets, we will write:
x + 79 = 130
x = 51
So 51 student tickets were sold.