I tried to apply bayes' theorem to the whole joint probability, but I couldn't reach the right term.
Is there a special way to apply bayes' theorem to this kind of probability (conditional probability of somthing given joint of other two variables) ?