I would have picked you up from the airport if I ---- that you had planned to arrive today.

Answer: 
had known
I would have picked you up from the airport if I ---- that you had planned to arrive today.