Let's represent the number of adult tickets sold as "x" and the number of child tickets sold as "y".
We know that a single adult ticket costs $8, so the total revenue from adult ticket sales would be 8x. Similarly, a single child ticket costs $5, so the total revenue from child ticket sales would be 5y.
The total number of tickets sold was 245, so we can write an equation:
x + y = 245
We also know that the total revenue was $1768:
8x + 5y = 1768
We can use the first equation to solve for one of the variables in terms of the other:
y = 245 - x
Substitute this into the second equation:
8x + 5(245 - x) = 1768
Simplify and solve for x:
8x + 1225 - 5x = 1768
3x = 543
x = 181
So 181 adult tickets were sold. We can use the first equation to find the number of child tickets:
181 + y = 245
y = 64
So 64 child tickets were sold.