Who influenced a director , costume designer , and writer of M3 and was influenced by M1 and M2
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.director.film M3 .
?x1 ns:film.film_costumer_designer.costume_design_for_film M3 .
?x1 ns:film.writer.film M3
}