Here's how to understand it:
* Past perfect tense: Used to describe an action that was completed before another past action.
* Structure: had + past participle of the verb (in this case, "spoken")
Example:
"He had spoken to the manager before leaving the office."
(This means he spoke to the manager, and then left the office.)