The sentence refers to a past event ('yesterday') and implies that the subject ('I') was the one who asked, making the active voice in the past simple tense appropriate.
Ответ: 9. I asked (to ask) at the lesson yesterday.