Let the cost of adult ticket is represented by a and cost of child ticket be c.
So we get

Multiply second equation by -3 and adding the new equation with first equation , we will get

Substituting the value of c in any of the two equations, we will get

So the cost of adult ticket is Euro 5 and of child ticket is Euro 2.