Jenny school is selling tickets to a choral performance. On the first day of ticket sales the school sold 4 adult tickets and 8 student tickets for a total of $40. The school took in $35 on the second day by selling 8 adult tickets and 1 student ticket. Find the price of adult ticket and the price of a student ticket.