Hello, Alexander,
Let A and C represent the number of Adult and Child tickets. We know C = 12, but want to find A.
The total cost, $104, is made up of the number of each class of ticket times the cost for that class:
12*8 + A*4 = 104
[The prices seem inverted - the child's ticket is hgher than an adult?]
96 + 4A = 104
4A = 8
A = 2
2 adult tickets were purchased. See if that works:
Adult = 2*4 = $8
Child = 12*8 = $96
Total = $104
I hope this helps,
Bob