Correct Answer:
C. c. Had worked
"Had worked" (past perfect) is correct for an action completed before another past event. "Has worked" is present perfect, "worked" is simple past, and "had been worked" is passive, none of which fit the active, prior-to-past context.