Who wrote M1 and M2 and edited a film written by and edited by M4 's executive producer
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:film.editor.film ?x1 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x1 a ns:film.film .
?x1 ns:film.film.edited_by ?x2 .
?x1 ns:film.film.written_by ?x2 .
?x2 ns:film.producer.films_executive_produced M4
}