John is selling tickets to an event. Attendees can either buy a general admission ticket, x, or a VIP ticket, y. The general admission tickets are $50 and the VIP tickets are $60. If he knows he sold a total of 21 tickets and made $1,050, how many of each type did he sell?