Answer:
21 adults and 139 children
Explanation:
x=adult (8$)
y=child (5$)
8x + 5y =863
x+y=160
-x -x (subtract x on both sides)
y= -x + 160
plug that in for y on the other equation
8x + 5(-x + 160) =863
distribute 5 to both
8x + -5x + 800 = 863
combine both x values
3x + 800 = 863
-800 -800 (subtract on both sides)
3x = 63
divide by 3 on both sides
x = 21 adults
now plug x in one of the equations
21 + y = 160
-21 -21
y=139 children