The teacher had punished the boy.

The teacher had punished the boy.

Explanation

Past Perfect Tense

Active Voice Formula: Subject + had + V3+ object.

Passive Voice Formula: Object + had+ been + V3 + (By + subject)