In the past simple tense, negative sentences are formed using 'did not' (or 'didn't') followed by the base form of the verb. For example: 'He did not go', 'She didn't eat'.
The sentence is in the past simple tense, indicated by 'yesterday'. We need to form a negative statement. The correct structure is 'did not' + base verb.
Ответ: b. didn't cook