What was a film whose costume designer and writer produced M1 and M2
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.costume_design_by ?x1 .
?x0 ns:film.film.written_by ?x1 .
?x1 ns:film.producer.film|ns:film.production_company.films M1 .
?x1 ns:film.producer.film|ns:film.production_company.films M2
}