A family went to an amusement park and paid $12 for each adult and $8 for each child. A group of 15 people went to the park and it cost $140. This system of equations models this situation, where x is the number of adults and y is the number of children.
How many children were in the group?
x + y = 15
12x + 8x = 140