reported speech
I love eating cheese. (she)
She told me she liked eating cheese.
What's your name?
Could you tell me what your name is?
I've never been to Portugal (you)
You told me you had never been to Portugal.
What countries have you been to?
Can you tell me what countries you have been to?
She asked me what my name was.
How much money do you earn as a teacher?
Would you mind telling me how much money you earn as teacher?
"Why didn't you do homework?" (the teacher)
The teacher asked me why I hadn't done the homework.
Why didn't you do the homework?
I was wondering why you didn't do the homework.