Question 1183998
<br>
Assuming those names are 3 girls and 2 boys, the arrangements are either GGGBB or BBGGG; that's 2 possibilities.<br>
Within the group of 2 boys the number of possible arrangements is 2!=2; within the group of 3 girls the number of possible arrangements is 3!=6.<br>
The total number of ways of arranging the 5 people is 2*2*6=24.<br>
The total number of possible arrangements without restrictions is 5!=120.<br>
The probability that the boys will be next to each other and the girls will be next to each other is 24/120 = 1/5.<br>
ANSWER: 1/5<br>