Выбор между Past Simple и Past Continuous.
Cooking dinner was the longer action.
Ответ: was cooking, came. Cooking dinner was the longer action.