Both are fine. In complex questions like the first one (that means two structures in one) we do put the verb after the subject. Only when it is a single question do we change the structure:
How is he? (single question)
Can you tell me how he is? (complex question).
Hope this answers your question hehehe... have a good day. Les