H price = 8 + 2.25 x where x = number of tickets
P 50 + 1.25 x
And you wnat to know when they are equal:
8+2.25x = 50 + 1.25 x Subtract 8 from both sides
2.25x = 42 + 1.25x Subtract 1.25 x from both sides
x = 42 = number of tickets to equal price at both carnivals