A local venue is selling tickets to a show. They are selling $10 and $15 tickets, each with different seating. If the venue sells 1,000 tickets and collects a total of $12,200 from sales, how many of each type of ticket did they sell? Please explain the work