Правильный ответ: A. had set
They had set the table before the guests arrived. (Они накрыли на стол до прихода гостей.)
Ответ: A. had set