What male person that wrote M1 was influenced by M5 's Japanese editor and influenced by M2
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:film.writer.film M1 .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:influence.influence_node.influenced_by M2 .
?x0 ns:people.person.gender ns:m.05zppz .
?x1 ns:film.editor.film M5 .
?x1 ns:people.person.nationality ns:m.03_3d
}