Which production company that M1 and M2 acquired and M3 and M4 were acquired by was M5 's distributor
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.production_company .
?x0 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film M5 .
?x0 ns:organization.organization.acquired_by/ns:business.acquisition.acquiring_company M1 .
?x0 ns:organization.organization.acquired_by/ns:business.acquisition.acquiring_company M2 .
?x0 ns:organization.organization.companies_acquired/ns:business.acquisition.company_acquired M3 .
?x0 ns:organization.organization.companies_acquired/ns:business.acquisition.company_acquired M4
}