For this case we propose a system of equations:
x: Let the variable representing the number of children in the concert
y: Let the variable representing the number of adults at the concert
According to the assistance we have:
![x = 3y](https://img.qammunity.org/2020/formulas/mathematics/middle-school/cddncahssxqildfp9jbfi83y2nx76e3qnl.png)
According to the cost we have:
![3x + 7y = 6000](https://img.qammunity.org/2020/formulas/mathematics/middle-school/i1mpgn1rkuh6r7e39q6blz4k9hk2z00nuw.png)
Substituting the first in the second equation we have:
![3 (3y) + 7y = 6000\\9y + 7y = 6000\\16y = 6000\\y = \frac {6000} {16}\\y = 375](https://img.qammunity.org/2020/formulas/mathematics/middle-school/k03fqey3sdi913c36ti3aenwsz3jelu1wb.png)
Thus, the concert was 375 adults.
On the other hand we have:
![x = 3 (375) = 1125](https://img.qammunity.org/2020/formulas/mathematics/middle-school/7o27gpjyjzytz7nke64iat5dmx20aptqre.png)
Thus, the concert was 1125 children.
In total they were:
people
ANswer:
The concert was 1500 people