Due today! Help!
The homecoming dance happened last Saturday. Some students bought tickets in advance for $5 each and other bought tickets at the door for $7. In all, 290 students attended the dance and $1790 was the total of all ticket sales. How many students bough tickets in advance and how many bought tickets at the door?