Past Perfect Tense Format For Active Voice : Subject + Helping Verb + 3rd form of verb + Object (Active Voice)
Eg: She had never seen it before
Past Perfect Tense Format For Passive Voice : Subject + Helping Verb (had been) + 3rd form of verb + by + Object (Passive Voice)
Eg: It had never been seen by her before.
The houses had been abandoned by the villagers much before the tsunami struck at 11pm.