\(9\left(x+5\right)^2-4\left(x-7\right)^2\\ =9\left(x^2+10x+25\right)-4\left(x^2-14x+49\right)\\ =9x^2+90x+225-4x^2+56x-196\\ =9x^2-4x^2+90x+56x+225-196\\ =5x^2+146x+29\)
= 9.(x^2 + 10x + 25) - 4.(x^2 - 14x + 49)
= 9x^2 + 90x + 225 - 4x^2 + 56x - 196
= 5x^2 + 146x + 29