The two equations would be
32a+50b=14600
10a+40b=7000
To solve, we need to eliminate one variable.... let’s eliminate b
4(32a+50b=14600) —> 128a+200b=58400
-5(10a+40b=7000) —> -50a-200b=-35000
So when we add them together’ we get 78a = 23400
So solve that and a= 300, so class a tickets cost 300 euros each
Substitute a=300 into first equation in the system of equations at the beginning and 32(300)+50b=14600 —> 9600+50b=14600 —> 50b = 5000 or b= 100, so the cost for class b tickets is 100 euros each