Tell me what is your opinion on this matter.
Tell me what your opinion on this matter is.
Which one is correct? I understand the word order in the sentence like I want to know where she is. But does my above sentence belong to the same type like I can recognize who is happy? I am not sure.