Review the sentence:
Scolding the noisy teenagers, the library returned to silence.
Scolding the noisy teenagers, a participle phrase, comes right before library, an illogical target. A building does not have a mouth that can scold!
Before you continue, review the rules for misplaced and dangling modifiers.