What did M0 write and a Mexican film producer that directed M3 write
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.written_by ?x1 .
?x0 ns:film.film.written_by M0 .
?x1 a ns:film.producer .
?x1 ns:film.director.film M3 .
?x1 ns:people.person.nationality ns:m.0b90_r
}