**Hint:** For each $n\in\\{0,1,2,3\\}$,
* calculate the probability $P_n$ that there are exactly $n$ heads.
* calculate the probability $Q_n$ that, if $n$ heads have appeared, then the two-headed coin is chosen
Then the probability that the two-headed coin is chosen overall is $$P_0Q_0+P_1Q_1+P_2Q_2+P_3Q_3.$$ (Do you understand why?)