Possible outcomes for doors and are Goat and Car with probability , in which case the contestant wins, Car and Car with probability , in which case the contestant wins again, and Goat and Goat with probability , in which case the contestant loses.
Thus,
Thus,