Given data:
The total numbers of tickets purchased is a+b=20.
The total cost of the tickets is 15a+10b=225.
The first equation can be written as,

Substitute the above expression in the second equation.

The value of a is,

Thus, the numbers of tickes purchased by children are 15, and the numbers of tickets purchased by adults are 5.