What did a production company that M1 and M2 founded write
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.written_by ?x1 .
?x1 a ns:film.production_company .
?x1 ns:organization.organization.founders M1 .
?x1 ns:organization.organization.founders M2
}