Answer:
Carol sold 15 child tickets and 25 adult tickets.
Step-by-step explanation:
Let's make a system, first let's set x to the number of child tickets sold and y to the number of adult tickets sold. We know that she sold 40 tickets in total to we have: x+y=40. Then, we know that adult tickets are sold for $8 and child tickets are sold for $3. So we have 3x+8y=245. We can solve this using substitution. If we subtract y from both sides of the first equation, we have x=-y+40. We can substitute this into the second equation:
3(-y+40)+8y=245
-3y+120+8y=245
5y+120=245
5y=125
y=25
Now we substitute this into any equation in the system to get the x value.
x+y=40
x+25=40
x=15
Carol sold 15 child tickets and 25 adult tickets.