This is the regular Monty Hall Problem where you choose a door and then Monty opens a door with a goat behind it.
Don't understand why the conditional probability is 2/3?
WLOG assume you pick door 1 and C be the event get car and $M_i$ be the event of Monty opening door $i.$
$P(C) = P(C | M_2)P(M_2) + P(C | M_3)P(M_3)$ by LOTP.
Then $P(M_2)=P(M_3)=1/2$ because of these 3 cases (G,G,C) (G,C,G) and (C,G,G). Then to find $P(C|M_2)$ means you can remove the case (G,C,G) and out of the remaining 2 you get a car in only half of them if you switch. How do you get 2/3?