Carl Sagan ... (based on the novel by)

Carl Sagan ... (based on the story by) and