I was practicing direct to indirect conversion, when I saw something peculiar in the sentences. Consider the sentence given below -
1) He said to me, "Where do you live?".
I considered various sources and everywhere the correct answer was -
He asked me where I lived.
My question is, why it wasn't transformed like this? -
He asked me where did I live.
Rule says that - The present indefinite is changed to past indefinite, so shouldn't the 'do' of present be changed to 'did' in past? Why in such sentences we omit 'do'?
Now, consider the following sentence -
2) The doctor said to the patient, "If you don't take medicine properly, you will not get well".
The answer was given as -
The doctor warned the patient that if he didn't take medicine properly he would not get well.
Now why didn't we omit 'do'? What's the correct rule? When should I change 'do'? When I should not?