Let
be the price of an adult ticket, and
the price of a child ticket.
The sentence "Three adults and four children must pay $122 for tickets" translates to

The sentence "Two adults and three children must pay $87" translates to

Which leads to the linear system

You can solve this system as you prefer, for example you can multiply the first equation by 2 and the second by 3 to get

Now subtract the first from the second:

Now plug this value for c in any of the equations, for example the first:
