This question sounds very strongly like someone has told you that sentence 2 is more formal and you're trying to check whether it's true. Is that right?
Is your aim here to ask about these specific sentences or is it to know more generally about positions of yet? If we can understand where your question comes from, we can answer it better.
If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know: