jacob bought some tickets to see his favorite singer. He bought some adult tickets and some children's tickets, for a total of 9 tickets. The adult tickets cost $10 per ticket, and the children's tickets cost $8 per ticket. If he spent a total of $76, then how many adult and children's tickets did he buy ?