Answer:
Explanation:
Let's assume there are n students in total, and g students are girls. The probability of selecting a girl for the first student is g/n, as there are g girls out of n students.
After the first student leaves the room, there are now n-1 students remaining, with g-1 girls. The probability of selecting a girl for the second student is (g-1)/(n-1).
To find the probability that both selected students are girls, we need to multiply the probabilities of each event happening. So the overall probability is:
(g/n) * ((g-1)/(n-1))
Simplifying this expression, we have:
(g * (g-1))/(n * (n-1))
This is the probability that both selected students are girls.