Concept:Use the cosine rule: cosC=2aba2+b2−c2.Explanation:Given (a+b+c)(a+b−c)=3ab.Rewrite as (a+b)2−c2=3ab.Expanding gives a2+b2+2ab−c2=3ab.Rearranging: a2+b2−c2=ab.Divide both sides by 2ab: 2aba2+b2−c2=21.By the cosine rule, cosC=21.Therefore C=cos−1(21)=3π.Answer:∠C=3π, which is option C.