Bayes’ Theorem is stated as

  1. $P(A\mid B)$: likelihood of A given B
  2. $P(A)$: marginal probability of A

There is a nice tree diagram for the Bayes’ theorem on wikipedia.

Tree diagram of Bayes’ theorem