Step-by-step explanation:
Let the ticket sold to the students be x, and the one sold to the non-students be y.
2.5x + 4y = 1012.50
x + y = 285
2.5x + 4y = 1012.50
2.5x + 2.5y = 285*2.5
1.5y = 1012.5 - 712.5
1.5y = 300
3y/2 = 300
y = 300 *2/3 = 200
x = 285 - 200 = 85
Therefore 200 tickets and another kind of 85 tickets were sold.