The correct answer is A. had finished.

The past perfect tense is used to talk about an action that was completed before another action in the past. In this sentence, Dario is talking about an action that was completed before he left for Delhi. The other action in the past is "he left for Delhi." Therefore, we need to use the past perfect tense.

The other options are incorrect because they do not express an action that was completed before another action in the past.

  • Option B, "is finishing," expresses an action that is happening now.
  • Option C, "was finishing," expresses an action that was happening at a specific time in the past.
  • Option D, "has finished," expresses an action that was completed at a specific time in the past.

Here is a diagram that shows the time order of the actions in the sentence:

  • Before: Dario finished his homework.
  • After: Dario left for Delhi.

I hope this explanation is helpful! Let me know if you have any other questions.