At an all-you-can-eat barbeque fundraiser that you are sponsoring, adults paid $6 for a dinner and children paid $4 for a dinner. 212 people attended and you raised $1128.

What is the total number of adults that attended the BBQ?
What is the total number of children that attended the BBQ?
Represent the problem with 2 algebraic equations.

a+c = 212

6a+4c = 1128