What sequel of M2 did a male person write and M0 and M1 executive produce
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.executive_produced_by M0 .
?x0 ns:film.film.executive_produced_by M1 .
?x0 ns:film.film.prequel M2 .
?x0 ns:film.film.written_by ?x1 .
?x1 a ns:people.person .
?x1 ns:people.person.gender ns:m.05zppz
}