Joel and two friends went to the movies. They each spent $5.50 on a medium popcorn and also had to buy a ticket. Altogether, they spent $45. How much did each boy spend on a movie ticket ?