It costs 3 adults and 4 children $94 to visit the zoo. It costs 4 adults and 4 children $112 to visit the same zoo. Write a system of equations to find the cost of a ticket for an adult and the cost of a ticket for a child.