so 5a=cost of adults
3s=cost of students
a+s=1142
5a+3s=4326
a+s=1142
subtract s from both sdies
a=1142-s
subsitute 1142-s for a
5(1142-s)+3s=4326
5710-5s+3s=4326
5710-2s=4326
subtract 5710 from both swides
-2s=4326-5710
-2s=-1384
dividee both sides by 2
-s=-692
multiply -1
s=692
692 students
subsittue
a+692=1142
subtract 692
a=450
s=692
a=450