-- When did you finish _____ your homework?
-- I finished it at 9:00 last night.
A. do B. to do C. did D. doing
D