answer
≈ 0.31 = 31 %
set up equation
the probability of someone from the first group having brown eyes is

the probability of someone from the second group having brown eyes is

so the probability of both students having brown eyes is
*

values
students with brown eyes in first group = 27
total students in first group = 40
students with brown eyes in second group = 23
total students in second group = 50
plug in values and solve
*

=

=

=

≈ 0.31
= 31 %