How does the sentence end? See options at the end

Throughout the year Elena was training Megan in business marketing when 

Available choices: A. Elena was the student.. B. Megan was the student..
B.