Let x be price of adult ticket
and y be price of student ticket
6x + 3y = 123
3x + 9y = 174
Solving this by system of equations:
Multiply the second equation by 2, you'll get
6x + 18y = 348
Subtract the first equation by second equation:
(6x - 6x) + (18y - 3y) = (348 - 123)
15y = 225
y = 15
Substitute y = 15 into any equations:
6x + 3(15) = 123
6x = 123 - 45 = 78
x = 78/6 = 13