Admission to a museum costs $12 for adults and $7 for children. A group of 35 people attending the museum paid a total of $315 in admission fees. Write a system of equations to represent the situation. Let a represent the number of adult admissions, and let c represent the number of child admissions.