The bookseller said to me, "Do you want to buy these books?"

The bookseller said to me, "Do you want to buy these books?"

Explanation

Present Indefinite changes into Past Indefinite.

These changes into Those

Said changes into asked

Question changes into simple sentence