Who produced M1 and produced a film whose male star , costume designer , and writer produced M3
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:film.producer.film|ns:film.production_company.films ?x1 .
?x0 ns:film.producer.film|ns:film.production_company.films M1 .
?x1 a ns:film.film .
?x1 ns:film.film.costume_design_by ?x2 .
?x1 ns:film.film.starring/ns:film.performance.actor ?x2 .
?x1 ns:film.film.written_by ?x2 .
?x2 ns:film.producer.film|ns:film.production_company.films M3 .
?x2 ns:people.person.gender ns:m.05zppz
}