Pedro bought 8 tickets to a basketball game. He paid a total of $184. Enter an equation, using x as your variable, to determine whether each ticket cost $23 or $26. Then enter the cost of the ticket.