Question mark or period at the end of "What is your favorite song, and explain why"

I consider both options you provided incorrect. If you really wanted to avoid writing the correct

What is your favourite song? Explain why.

you can write

What is your favourite song, and why?