Question 372477
lower box - x tickets --------------75 pesos
upper box -578-x tickets------------40 pesos
..
total collection = 29,295
..
75x+40(578-x)=29,295
75x+23,120-40x=29,295
35x+23120=29295
35x=29,295-23120
35x=6175
x=6175/35
x= 176 tickets 
...
you can also set up a linear system
x+y = 578
75x+40y = 29295
...
m.ananth@hotmail.ca