The first thing we must do for this case is to define variables.
We have then:
x: tickets for children
y: tickets for adults
We write the system of equations:

Solving the system we have:

Then, for x we have:
Answer:
tickets for children: 167
tickets for adults: 21