Which Spanish film director that M1 and M2 were written by and produced by influenced M3 and M4
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.director .
?x0 ns:film.producer.film|ns:film.production_company.films M1 .
?x0 ns:film.producer.film|ns:film.production_company.films M2 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:influence.influence_node.influenced M3 .
?x0 ns:influence.influence_node.influenced M4 .
?x0 ns:people.person.nationality ns:m.06mkj
}