Which film whose executive producer was influenced by M2 was directed by and written by M1
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.directed_by M1 .
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.written_by M1 .
?x1 ns:influence.influence_node.influenced_by M2
}