In this problem we have two conditions, the fisrt one is:
so the number of tickest for adults (A) and the number of tickest for students (S) must be equal to 8
now the secon condition says that :
the total cost of the tickets must be equal to 52.75
So we solve the first equation for A so:
and we replace that in the secon equation so:
and we solve for S so: