Let S = Cost of STUDENT ticket and A = cost of SENIOR ticket
First day: 13S + 7A = 166
2nd day 14S + 14 A = 224
Divide second day equation by 2 and subtract from 1st day equation
6S = 54
S=9
In the 1st day equation substitute the value of S=9
117+7A=166
7A =49
A=7