Вопрос:

3 Bob ... a poem last night.

Ответ:

Grammar Exercise 3: Fill in the blank.

The sentence describes an action that happened in the past ('last night'). Therefore, the past tense of the verb 'write' is required.

Answer: a wrote