Tickets to a dance cost $6.50 in advance. Tickets at the door cost $8.00. A group spent $177.50 on tickets. They bought ten tickets at the door. Write an equation to describe this situation and solve it to find the number of tickets bought in advance by the group. Include statements defining the variable(s) and a concluding statement.