Let a be the cost per ticket at a cinema. Person A goes to see a movie with another 3 friends and spends 5 dollars on popcorn. On the other hand, person B goes with another 11 friends and gets a discount of 11 dollars due to the number of tickets he bought. If both people paid the same, determine the cost of one ticket.