Okay, here we have this:
Considering the provided information, we are going to calculate the requested number of adults and childrens, so we obtain the following:
From the information provided we obtain the following system of equations, where x represents the number of adults and y the number of children:

Let's solve by substitution:
We first isolate x from the first equation:

Now let's plug into the second equation with what we found for x:

And finally let's substitute with the value of y in the equation of x:

Finally we obtain that they were 59 adults and 143 childrens.