The shopkeeper said to the man, "What kind of books do you need."

The shopkeeper said to the man, "What kind of books do you need."

Explanation

The shopkeeper asked the man what kind of books he needed.

  • The sentence is converted from direct to indirect speech, so "said to" changes to "asked" (since it's a question).
  • "Do you need" (present simple) changes to "he needed" (past simple) in reported speech.