What did a costume designer that M1 was written by and M2 was written by edit and write
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.written_by ?x1 .
?x1 a ns:film.film_costumer_designer .
?x1 ns:film.writer.film M1 .
?x1 ns:film.writer.film M2
}