Answer:
The answer to your question would be that the entire subordinate clause of the sentence is "which had been dumped into the city water system".
Step-by-step explanation:
The sentence above contains a nonessential relative clause. This subordinate clause modifies the noun head materials but it is nonessential. This is so because the information it provides is not necessary to complete the meaning of the sentence. Consequently, if it was dropped, it would not altered the meaning (see A). This is also why the clause is separated from the rest of the sentence with commas.
A) A huge quantity of toxic materials contaminated a major waste treatment plant