The correct answer is 'a wrote'.
Explanation:
The sentence describes an action that happened in the past ('last night'). Therefore, we need to use the past simple tense. 'Wrote' is the past simple form of the verb 'write'.
Translation:
Боб написал стихотворение прошлой ночью.