Explanation:
x = number of children
y = number of adults
x + y = 364
x = 364 - y
1.75x + 2.25y = 707.5
using the first equation in the second :
1.75(364 - y) + 2.25y = 707.5
637 - 1.75y + 2.25y = 707.5
637 + 0.5y = 707.5
0.5y = 70.5
y = 70.5/0.5 = 141
x = 364 - y = 364 - 141 = 223
there were 223 children at the public pool.
there were 141 adults at the public pool.