Which film editor that M3 was produced by and a film was written by was a Mexican film director
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.director .
?x0 a ns:film.editor .
?x0 ns:film.producer.film|ns:film.production_company.films M3 .
?x0 ns:film.writer.film ?x1 .
?x0 ns:people.person.nationality ns:m.0b90_r .
?x1 a ns:film.film
}