On the first day of a music concert, the price of 12 adult tickets and 4 child tickets is 84$. The second day the concert made 78$ by selling 6 adult tickets and 14 child tickets. Find the price of an adult ticket and the price of an child ticket.