"He had finished his homework before dinner." is correct past tense.
Option C "He had finished his homework before dinner." is correct past tense.