On one day at a local minigolf course, there were 320 customers who paid a total of $2,900. If the cost for a child is $7 per game and the cost for an adult is $10 per game, write a system of equations to model this scenario, where x represents the number of children and y represents the number of adults who played that day.

x + y = 320 (total number of customers)

7x + 10y = 2900 (total amount paid by all customers)