(a)

Red balls are replaced; non-red balls are kept. Apply the multiplication rule:

P[RWB]=515315714130

(b)

(1) Set up the conditional probability formula:

P[a=R|c=B]=P[a=Rc=B]P[c=B]
  • a is the first ball drawn
  • b the second
  • c the third

(2) Enumerate all sequences ending in B:

P[RRB]=515515715=7135

P[RBB]=515715614=115

P[RWB]=515315714=130

P[BRB]=715514614=114

P[BBB]=715614513=113

P[BWB]=715314613=365

P[WRB]=315514714=128

P[WBB]=315714613=365

P[WWB]=315214713=165


(3) Evaluate:

P[a=R|c=B]=7135+115+1307135+115+130+114+365+113+128+365+1650.3423