Tickets to the museum cost $18 for adults and $12 for children. A group of 20 people went to the museum, and the tickets cost $324. The system of equations models this situation, where x is the number of adults and y is the number of children.
x+y=20
18x+12y=324
How many adults and how many children were in the group?
A.
8 adults and 12 children
B.
10 adults and 10 children
C.
12 adults and 8 children
D.
14 adults and 6 children