A group of friends went to the movies. Movie tickets cost $8.50 each. One of the group bought some food for $6.50. The group spent a total of $57.50. Write and solve an equation to determine how many tickets were bought. Let t represent the number of tickets.