How does the sentence end? See options at the end

In class Patricia talked back to Kayla the teacher when she asked her to do something, so

Pick your answer from:
[i] Patricia gave detention.
[ii] Kayla gave detention.
[ii]