Answer :
There were 40 students surveyed.
What is a system of equations?
A system of equations is two or more equations that can be solved to get a unique solution. the power of the equation must be in one degree.
Let us assume total number of students were surveyed be x.
1/4 of x students preferred red = 1/4 x.
1/8 of of x students preferred blue = 1/8 x
Remaining students = (x - 1/4 x - 1/8 x)
So, 3/5 of the remaining students chose green that is 3/5 of (x - 1/4 x - 1/8 x).
15 students preferred green.
So, we can setup an equation:
We also know that 3/5(x - x/4 -x/8) = 15
3x - 3x/4 - 3x/8 = 75
5x = 200.
Dividing both sides by 5, we get
x= 40.
Therefore, 40 students were surveyed.
Learn more about equations here;
https://brainly.com/question/10413253
#SPJ1