sentence1: For several years , Rosa taught courses relating to both domestic chemistry and analytical chemistry .
sentence2: For several years , Rosa taught courses relating both to domestic chemistry and applied analytical chemistry .