We can call:
S: the number of students that assisted to the movies.
A: the number of adults that assited to the movies.
Then, as the total number of assistants is 40 and is the sum of the number of students and the number of adults, we can write:
He spent $180, and this expense is the sum of $4 per student, a total of 4*S, and $6 per adult, a total of 6*A, so we can write:
To solve this, we substitute one of the variables with the information from the first equation and solve the second equation:
With tha value A=10 (10 adults), we calcualte the numebr of students S as:
Answer:
Being S: the number of students, and A: the number of adults,
The first equation is: S+A=40.
The second equation is: 4S+6A=180
The assistants to the movies were 30 students and 10 adults.