Emily is going to the movies this weekend with some friends. they have a total of $54 to spend. Emily wants a large popcorn that is $12. If each movie ticket costs $6, how many tickets can Emily buy?