I am aware that The outcomes for two kids can be {BB, BG, GB, GG}, and given that there's one girl, the answer would be 1/3. But, when I put the question into a context of Bayesian Theorem, I seem to struggle.
My equation is as follows: P(2G|1G)=[P(1G|2G)*P(2G)]/P(1G)
where P(1G|2G) = 1 as given there are two girls, the probability of having 1 girl would be 1, P(2G)=0.5*0.5, P(1G)=0.5 .
Where, in my equation, did I get wrong?