# of child tickets:: x
# of adult tickets:: 2x -13
===================
Child ticket value:: 5
Adult ticket value:: 8
------
Equation:
Value + Value = 526 dollars
5x + 8(2x-13) = 526
21x - 104 = 526
21x = 630
x = 30 (# of child tickets sold)
2x-13 = 60-13 = 47 (# of adult tickets sold)