D. The man who had been sleeping during the flight woke up.
Feedback The subject is normally placed before the predicate. Note, that very often the subject is not a single word. Here: 'The man who had been sleeping during the flight' - is the subject. Then, you should pay attention to the word order inside this phrase: the man - is on the first place and relative clause with 'who' follows it.