What male writer and costume designer of a film was M0 's actor
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.actor.film/ns:film.performance.character M0 .
?x0 ns:film.film_costumer_designer.costume_design_for_film ?x1 .
?x0 ns:film.writer.film ?x1 .
?x0 ns:people.person.gender ns:m.05zppz .
?x1 a ns:film.film
}