Answer
365 children and 222 adults
Work Step by Step
To solve this you first want to check all the given Information : 5dolar childrens price, 7dollar adults price, money collected: 3379dollar and 587 people attended.
Then find out what is asked for: how many children and how many adults attended.
To solve this we need to make two equstions and then solve the system.
5x+7y=3379
x is the amount of children multiplied by their price, to find the total price for children. y is the amount of adults mutiplied by their price for the same reason. Both of these together equal the total money.
x+y=587
children plus adults equal the total number of people.
Transform the second equation so that you can insert it into the first one: x=587-y
Then insert it and calculate the values for x and y. $5\times(587-y)+7y=3379 <=> x=365, y=222$