5/8 of the students in my class were boys.

When 6 girls joined the class, the number of boys equaled the number of girls.
How many students were in my class then?

3 answers

before
x students
5x/8 boys and 3x/8 girls
so later
3x/8 + 6 = 5x/8

3 x + 48 = 5 x

2 x = 48
so
x = 24 students before
x+6 = 30 after 6 girls arrived
whaaaaaa
3x/8 + 6 = 5x/8

3x/8 + 6x8/8 _ this makes the denominator 8 = 5x/8

3x/8 + 48/8 = 5x/8

(Since all the denominators are the same we can just cross them out)

3x + 48 + 5x

48 = 5x - 3x

48 = 2x

48/2= 24

x=24

x + 6 =30 ( since we didnt add the 6 we just calculated how many there were before.

Ans= 30 You can thank me