# Finding likelihood for an event using Bayesian Inference

A spacecraft carrying two female and three male astronauts makes a trip toMars. The plan calls for a two-person detachable capsule to land at site A on the planet and a second one-person capsule to land at site B. The other two astronauts remain in orbit. Which three will board the two capsules is decided by a lottery, consisting of picking names from a box.

What is the probability that a female occupies the one-person capsule if we know that at least one member of the other capsule is female, but we are not told the order in which the astronauts were picked?

This is a problem from chapter 4 of this book. I have no clue how to approach this problem. Can anyone please help?

Define events:

\begin{align} A &= \text{At least one female in capsule } A \\ B &= \text{A female in capsule } B. \end{align}

The probability required is:

Substituting into $(1)$ gives:
$$P(B\mid A) = \dfrac{2}{7}.$$