Equations:
x + y = 37
5x + 3y = 161
25 adult tickets
12 student tickets
—————-
Adult tickets are x
Student tickets are y
Equations are for number of tickets sold and price of tickets sold/money earned
x + y = 37
5x + 3y = 161
x = 37 - y
5(37 - y) + 3y = 161
185 - 5y + 3y = 161
- 2y = -24
y = 12
x = 37 - y
x = 37 - 12 = 25
Please let me know if you have questions about this answer