What screenwriter that M1 and M2 were directed by and written by was M3 's art director , writer , and editor
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.writer .
?x0 ns:film.director.film M1 .
?x0 ns:film.director.film M2 .
?x0 ns:film.editor.film M3 .
?x0 ns:film.film_art_director.films_art_directed M3 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:film.writer.film M3
}