Let
E1 be the event of getting a head, and
E2 be the event of getting a tail in the biased coin.
If P(X) is a probability function on event X,
P(E1)=3P(E2)=3(1−P(E1))
⇒P(E1)=34 and P(E2)=14
Let A be the event of getting a red chip.
So, P(A/E1)=57 (5 red chips in a total of 7 chips)
P(A/E2)=411 (4 red chips in a total of 11 chips)
So, according to Baye's theorem,
P(E1/A)=P(E1)P(A/E1)P(E1)P(A/E1)+P(E2)P(A/E2)
Where P(E1/A) is the probability of getting a heads given a red chip was drawn.
ie, P(E1/A)=34573457+14411=15×1115×11+28=165193