Solution
For this case we know that we have x children and y number of adults
We also know that the individual cost for children is $5 and for adults is $8
Then we can create the following equations:
x+ y =10 (Total number od people)
5x + 8y= 62 ( total cost )
We can solve for x from the first equation and we got:
x = 10 -y
Then we can replace in the second equation and we got:
5(10-y) + 8y = 62
50 -5y +8y = 62
3y = 62-50
3y= 12
y= 4
And solving for x we got:
x= 10-4 = 6
Then we have:
6 Children and 4 adults