@Evan, your answer is correct, we say: あなたはどうして (or なぜ / なんで)にほんごをべんきょうしていますか。When we ask the reason, we often use しているのですか. About あなたはどうして and どうしてあなたは, both are correct and mean the same. They don't mean "about why you, studying Japanese?". Anyway, it's nice of you to help other members!