SOLUTION: There are 18 boys in the class. There are w fewer boys than girls. How many students are in the class?

Algebra ->  Equations -> SOLUTION: There are 18 boys in the class. There are w fewer boys than girls. How many students are in the class?      Log On


   



Question 858306: There are 18 boys in the class. There are w fewer boys than girls. How many students are in the class?
Answer by KMST(5328) About Me  (Show Source):
You can put this solution on YOUR website!
x= number of girls in the class
18= number of boys in the class
We are told that
18=x-w<--->18%2Bw=x
We need to find out the number of students in the class.
We expect that all the boys and girls in the class are students,
and that every students in the class is either a boy or a girl,
so
s=18%2Bx= number of students in the class
substituting 18%2Bw for x ,
s=18%2B%2818%2Bw%29
s=%2818%2B18%29%2Bw
s=highlight%2836%2Bw%29