What was directed by a writer of M1 and M2 and executive produced by a screenwriter
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.executive_produced_by ?x2 .
?x1 ns:film.writer.film M1 .
?x1 ns:film.writer.film M2 .
?x2 a ns:film.writer
}