A group of 16 people bought tickets to a museum. They paid a total of $56. Each adult ticket costs $4 and each child ticket costs $2. Formulate and solve a system of equations to determine how many adult tickets and child tickets did they buy.