if you go first, there are 2 goats and 1 car, therefore your probability of getting a car is 1/3
if your friend goes first, in order for you to get a car, your friend needs to pick a goat with is a 2/3 probability, and then you need to pick between the two doors which is a 1/2 probability, and multiplying those two together gives you a probability of 1/3
therefore it doesn't make a difference