Subject + had + V3
The man had walked the dog before it rained.
We had eaten dinner before they arrived.
Subject + had + not + V3
The man had not walked the dog before it rained.
We had not eaten dinner before they arrived.
Had + Subject + V3?
Had the man walked the dog before it rained?
Had we eaten dinner before they arrived?
Object + had + been + V3 + (by Subject)
The dog had been walked by the man before it rained.
Dinner had been eaten by us before they arrived.
Object + had + not + been + V3 + (by Subject)
The dog had not been walked by the man before it rained.
Dinner had not been eaten by us before they arrived.
Had + Object + been + V3 + (by Subject)?
Had the dog been walked by the man before it rained?
Had dinner been eaten by us before they arrived?