Explanation
Which book did she like the most is an interrogative sentence of Past Indefinite Tense.
Which means کونسا یا کونسی یا کس
Book means کتاب
Like the most بہت زیادہ پسند کرنا
Which book did she like the most means وہ کس کتاب کو بہت زیادہ پسند کرتی تھی
Past Indefinite tense
Active Voice= Subject + Second Form of Verb + Object.
Passive Voice = Object + was/were + third of verb + by + subject.