Alan starts with curtain A.
If it is the car, his second pick is irrelevant.
If it is the keys, he should pick B next
If it is the goat, he should pick C next.
Because of the inherent symmetry of the problem, you can assign any curtains to his picks as long as his second pick is different if his first is the goat vs the keys.