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