At Health Hair, the cost of a children's haircut, x, is $4 and the cost of an adult haircut, y, is $14. The sales from Friday were $568. There were 42 haircuts in all.

Write a system to represent the situation and solve the system and interpret the answer.