How does the sentence end?

Betty put some paste on the paper while Samantha was teaching the students how, 
Possible answers:
 (a). Betty loved learning at the school.
 (b). Samantha loved learning at the school.
(a).