Let x be the number of programs the first person has gone to, then the total amount paid is:

The total amount for x games that the second person paid is:

Let t be the number of games that are needed so that both persons pay the same amount, then we can set the following equation:

Solving the above equation for t we get:

Answer:
