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