Original: Prokofiev composed the score for Eisenstein's film and Eisenstein reciprocated by designing sets for an operatic rendition of War and Peace that Prokofiev was developing.
Simplified: Prokofiev composed the score for Eisenstein's film. Eisenstein designed sets for an opera version of War and Peace that Prokofiev was creating.