The correct answer is B. Past Perfect.

The past perfect tense is used to talk about an action that happened before another action in the past. In the sentence "They had listened to him speak," the action of listening happened before the action of speaking.

The simple past tense is used to talk about an action that happened at a specific time in the past. In the sentence "They listened to him speak," the action of listening happened at a specific time in the past.

The past perfect continuous tense is used to talk about an action that was happening over a period of time in the past and continued up to a specific time in the past. In the sentence "They had been listening to him speak," the action of listening was happening over a period of time in the past and continued up to the time when the speaker heard him speak.

The present perfect tense is used to talk about an action that happened at an indefinite time in the past or that has happened repeatedly in the past. In the sentence "They have listened to him speak," the action of listening happened at an indefinite time in the past or has happened repeatedly in the past.