What screenwriter was employed by M5 's costume designer 's employer and employed by M1 , M2 , M3 , and M4
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.writer .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company ?x1 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M1 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M2 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M3 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M4 .
?x1 ns:business.employer.employees/ns:business.employment_tenure.person ?x2 .
?x2 ns:film.film_costumer_designer.costume_design_for_film M5
}