The school that Ted goes to is selling tickets to a spring musical. On the first day of ticket sales the school sold 12 adult tickets and 11 child tickets for a total of $234. The school took in $164 on the second day by selling 7 adult tickets and 11 child tickets. Find the price of an adult ticket and the price of a child ticket.