a, \(115^2+15^2-30.115=115^2-2.115.15+15^2=\left(115-15\right)^2\) b, \(\left(3x+1\right)^2+\left(3x-1\right)^2-2.\left(9x^2-1\right)=\left(3x+1\right)^2+\left(3x-1\right)^2-2.\left(3x+1\right).\left(3x-1\right)=\left(3x+1-3x+1\right)^2=2^2=4\)
b
115 2+152−30.115