I know that relative clauses simply go in the noun phrase containing the noun they modify, but what about adverbial clauses and free modifiers? How do you represent a clause containing an adverbial clause or a free modifier?
For example, how would you represent the sentence: "The earth, when it shook, glorified God." or the sentence: "They spoke to the king, warning him of the coming army." as syntax trees?