Result: The number of child tickets is 355 and the adult tickets total 170 respectively
Detailed explanation:
Let the child ticket count be x
and the adult ticket count as y
We have x+y=525.........[1]
19x+40y=13545.........[2]
By multiplying [1] by 19
19x+19y=9975........[3]
Subtracting [3] from [2]
19x+40y-19x -19y= 13545-9975
21y=3570
By dividing both sides by 21
y=170
Inserting the value of y into [1]
x+170=525
Subtracting 170 from both sides
x+170-170= 525-170
x=355
Number of child tickets = 355
Number of adult tickets = 170