I’m having difficulty doing a homework problem involving Bayes’ rule.

The formula to be used is:

P(A|B) = P(A)*P(B\A) / (P(Ai)*P(B|Ai) (The formula can be better seen at the bottom of thispage)

My problem lies in the fact that after many tries, I do not know my variables’ values from this set of probabilities:

P(F|Small) = .3 P(U|Small) = .7

P(F|Medium) = .6 P(U|Medium) = .4

P(F|Large) = .8 P(U|Large) = .2

With F = Favorable and U = Unfavorable

Just can’t figure out what values to fill in the formula to get the answers which are :

.17 .45

.68 .51

.15 .04

If someone could show the steps to get one of the answers I’m sure I can figure out how to do the rest. Thanks in advance!