Who was influenced by M2 's writer , cinematographer , and producer and was influenced by M1 's art director
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:influence.influence_node.influenced_by ?x2 .
?x1 ns:film.film_art_director.films_art_directed M1 .
?x2 ns:film.cinematographer.film M2 .
?x2 ns:film.producer.film|ns:film.production_company.films M2 .
?x2 ns:film.writer.film M2
}