Final answer:
To determine the number of tickets purchased and the total amount spent, we can set up a system of equations using the given information.
Step-by-step explanation:
Let's assume you bought x tickets.
The cost of the first plan would be $160 + $20x.
The cost of the second plan would be $40x.
According to the problem, the total cost for both options is the same. Therefore, we can form the equation: $160 + $20x = $40x.
To solve this equation, we can subtract $20x from both sides to get: $160 = $20x.
Finally, divide both sides of the equation by $20 to find the value of x: x = 8.
Therefore, you bought 8 tickets and spent $160 + $20 * 8 = $160 + $160 = $320.
Learn more about Solving equations involving ticket costs