What was edited by and written by a costume designer that wrote M1
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
}