Let 'x' be the number of students in vans and let 'y' be the number of students in buses.
Given the information on the problem, we can write the following system of equations:
notice that the first equation represents the number of students for FCMS and the second represents the number of students for BMS.
Then, we can multiply the second equation by -2 to get the following:
if we add this equation together with the first equation of the system, we have:
we have that y = 50, now we can use this value to find x on the first equation:
thus, each van was filled with 18 students and each bus was filled with 50 students. The solution of the system is (18,50)