3x2+36x108-3{x}^{2}+36x-108

1
Factor out the common term 33.
3(x212x+36)-3({x}^{2}-12x+36)

2
Rewrite x212x+36{x}^{2}-12x+36 in the form a22ab+b2{a}^{2}-2ab+{b}^{2}, where a=xa=x and b=6b=6.
3(x22(x)(6)+62)-3({x}^{2}-2(x)(6)+{6}^{2})

3
Use Square of Difference: (ab)2=a22ab+b2{(a-b)}^{2}={a}^{2}-2ab+{b}^{2}.
3(x6)2-3{(x-6)}^{2}

Done

How can we make this solution more helpful?