What did a star of M1 and M2 edit and a film producer write
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.written_by ?x2 .
?x1 ns:film.actor.film/ns:film.performance.film M1 .
?x1 ns:film.actor.film/ns:film.performance.film M2 .
?x2 a ns:film.producer
}