Who was influenced by a cinematographer of M1 and M2 and was influenced by M5 's American female 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.cinematographer.film M1 .
?x1 ns:film.cinematographer.film M2 .
?x2 ns:film.director.film M5 .
?x2 ns:people.person.gender ns:m.02zsn .
?x2 ns:people.person.nationality ns:m.09c7w0
}