Let the number of boys be B and the number of girls be G.

There are 18 more boys than girls.

Then, B = G + 18 ...............(1)

Also, given that 5/7 of the students are boys.

==> (5/7)* (B+G) = B............(2)

We will substitute (1) into (2).

==> (5/7) * (G+18 + G) = G+18

==> (5/7) *(2G+18)= G+18

==> Multiply by 7.

==> 10G + 90= 7G + 126

We will combine like terms.

==> 3G = 36

==> G = 12

==> B = 18+12 = 30

==> G + B = 30+12 = 42

**Then there are 42 girls and boys in the group.**

Let's denote the number of students as S.

5/7 of them are boys. If we denote the number of boys as B, B = (5/7)*S

The rest of the students are girls. This is equal to (1 - 5/7)*S = (2/7)*S

As the number of boys is 18 more than the number of girls

(5/7)*S = 18 + (2/7)*S

=> (5/7)*S - (2/7)*S = 18

=> (3/7)*S = 18

=> S = 18*(7/3)

=> S = 42

**The number of people in the group altogether is 42.**

## See eNotes Ad-Free

Start your **48-hour free trial** to get access to more than 30,000 additional guides and more than 350,000 Homework Help questions answered by our experts.

Already a member? Log in here.