Complete the following sentence with the correct form of the given below:
By the time Carol arrived, we ........ eating and were ready to go.
Afinished
Bhave finished
Cshall have finished
Dhad finished
Afinished
Bhave finished
Cshall have finished
Dhad finished