Option B is the correct answer because the given statement can be correct in both the present and past tenses provided both the blanks are in the same tense, because the entire statement must be in the same tense.
'looked' and 'were waiting ' are both correct because they are in the simple past tense.
Option A is incorrect because 'look' is in present tense while 'was waiting' is in past tense.
Option C is incorrect because "has been waiting" is past continuous tense while "looks" is in present tense.
Option D is incorrect because "waiting" is in present tense without a preposition, hence it is incorrect.
Option E is incorrect because the statement is in past tense, refer to "came", hence the rest must be in past tense too, while "looks" is the third present singular present form of "look", hence incorrect.