The 1967 film The Graduate features a Simon & Garfunkel soundtrack—but neither "Old Friends" nor "Bookends" appears in the movie.
The iconic tracks used are:
Bookends (1968) is the duo's concept album; "Old Friends" is its closing track. The film soundtrack album (1968) compiles the above songs plus Dave Grusin's score.