What person did M1 and M2 influence and a writer and editor of M3 influence
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:influence.influence_node.influenced_by M1 .
?x0 ns:influence.influence_node.influenced_by M2 .
?x1 ns:film.editor.film M3 .
?x1 ns:film.writer.film M3
}