Who was influenced by M2 's female writer and influenced M1 's sequel 's writer
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced_by ?x2 .
?x1 ns:film.writer.film ?x3 .
?x2 ns:film.writer.film M2 .
?x2 ns:people.person.gender ns:m.02zsn .
?x3 ns:film.film.prequel M1
}