Answer: You should ask one guard which door would the other guard pick as safe and choose the opposite door. The truthful guard will tell you that the other (the liar) will pick door X (wrong one). The liar will lie and tell you that the truthful guard would pick door X (wrong one).