Answer: B
Explanation: The given sentence is in passive form because the receivers of the action became the subject of the sentence. To transform this to active voice, the doer of the action should be the subject of the sentence such that the sentence can be written as,
Before the main performance, the comedian entertained the audience.