Write and solve an equation to answer the question:
José bought 2 movie tickets and a box of popcorn. The popcorn cost $6, and he spent a total of $24. How much did each ticket cost? Use m to represent the cost of each movie ticket.
A. 2m + 6 = 24 ----> m = 15; each ticket costed $15
B. 2m + 6 = 24 ----> m = 9; each ticket costed $9
C. 6m + 2 = 24 ----> m = 4; each ticket costed $4