Sentence 1: Rosa taught courses for several years relating to both domestic chemistry and analytical chemistry .
Sentence 2: For several years , Rosa taught courses relating both to domestic chemistry and applied analytical chemistry .
Question: Do Sentence 1 and Sentence 2 express the same meaning? Yes or No?