Who was a Mexican screenwriter that M3 and M4 were produced by and M5 and M6 were directed by
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.writer .
?x0 a ns:people.person .
?x0 ns:film.director.film M5 .
?x0 ns:film.director.film M6 .
?x0 ns:film.producer.film|ns:film.production_company.films M3 .
?x0 ns:film.producer.film|ns:film.production_company.films M4 .
?x0 ns:people.person.nationality ns:m.0b90_r
}