Answer: The cost of a ticket for an adult is $12 while for children it is $10.
Explanation:
Let's assume that cost for adults is A while for children it is C
Now,
2 adults and 4 children spend $64.
2A + 4C = 64
1 adult and 3 children spend $42.
A + 3C = 42
Multiply by 2
2A + 6C = 84
By subtracting equations
6C - 4C = 84 - 64
2C = 20
C = 10
A = 42 - 3(10)
A = 12
Hence "The cost of a ticket for an adult is $12 while for children it is $10".