At the point at which the contestant has chosen a door, there are $18$ equally likely outcomes: two ways for the coin to come up, in each case three ways for the prizes to be distributed, and three ways for the contestant to guess. In six of them the coin came up heads and the contestant picked a door with a prize behind it, and in three of them the coin came up tails and the contestant picked the door with the prize behind it. (I am assuming that when the coin comes up heads, the two prizes are put behind different doors.) Given that the contestant picks a potentially winning door, the odds are $2:1$ that the coin came up heads: if he guesses heads, his probability of getting the prize is $2/3$, while if he guesses tails, it is only $1/3$. Assuming that he guesses heads, his overall probability of winning a prize is $(1/2)(2/3)=1/3$, since his probability of choosing a potentially winning door is $1/2$.