Step-by-step explanation:
x = boys / y = girls / s = total number of students
x + y = s
3x + y - 8 = s
Maybe someone can improve upon this because this is all I know. Not the answer btw ^^^