Quoc: "Theme from Mahogany (Do You Know Where You're Going To)" is a song written by Michael Masser and Gerald Goffin, and initially recorded by American singer Thelma Houston in 1973, and then most notably by Diana Ross as the theme to the 1975 Motown / Paramount film Mahogany.

Who wrote the song do you know where you're going to?
HW Chung: OK, some thoughts:
The relevant sentence in the passage is: "Theme from Mahogany (Do You Know Where You're Going To)" is a song written by Michael Masser and Gerald Goffin, and initially recorded by American singer Thelma Houston in 1973, and then most notably by Diana Ross as the theme to the 1975 Motown / Paramount film Mahogany. The answer is Michael Masser.