Past Perfect Tense explanation:
Explanation: The Past Perfect tense is used to describe an action that happened before another action in the past. It is formed with 'had' + the past participle of the verb.
Original Sentence:
Nelly arrived. I baked the cake.
Combined Sentence:
When Nelly arrived, I had already baked the cake.