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