Okay, here we have this:
Considering that we need to calculate the probability that a random chosen student was female GIVEN they got a 'B'.
Remember that the probability is the quote between favorable events, over possible events.
So we obtain the following:
Probability that the student was female GIVEN they got a 'B'=7/15.