Answer:
There are 13 children and 31 adults.
Explanation:
x = children
y = adults
2x + 5 = y
y - x = 18
since y = 2x+5, it can be replaced with this in the equation
2x + 5 - x = 18
x + 5 = 18
x = 12
A total of 13 children attended
2x + 5 = y
2*13 + 5 = 29
31 adults attended