math
posted by Alexis .
adult tickets to a play are $12 student tickets are only $8 if a theater sells 90 tiickets to a play for a total of $980, how many of each kind of ticket did the theater sell?

Adult: x
Student: y
x + y = 90
12x+ 8y = 980
12x +8(90x) = 980
12x + 720 8x = 980
4x = 260
x = 65
y = 25