Original: The new theatre was built on the former location of the church of Santa Maria della Scala, from which the theatre gets its name.
Simplified: The new theatre was built where there had been a church called Santa Maria della Scala. This is how the theatre got its name.