s = a+10
18a+12s = 240
18a+12s = 240
S= 14
From the given information, we can create two equations:
1) There were 10 more students than adults: S = A + 10
2) The total cost of the trip was $240: 18A + 12S = 240
We can now solve this system of equations using substitution.
Step 1: Substitute the value of S from equation 1 into equation 2:
18A + 12(A + 10) = 240
Step 2: Distribute multiplication:
18A + 12A + 120 = 240
Step 3: Combine like terms:
30A + 120 = 240
Step 4: Subtract 120 from both sides to isolate the variable:
30A = 240 - 120
30A = 120
Step 5: Divide both sides by 30 to solve for A:
A = 120 / 30
A = 4
So, there were 4 adults.
Step 6: Substitute the value of A back into equation 1 to find the number of students:
S = A + 10
S = 4 + 10
S = 14
Therefore, there were 4 adults and 14 students who went to see the play.