(x-1)2+(x+2)2-(x-3)(x+3)=22
2x-2+2x+4-x+3*x+3=22
2x+2x-x+3x=2-4-3+22
6x=17
x=17/6
x^2-2x+1+x^2+4x+4-(x^2-9)=22
2x^2+2x+5-x^2+9-22=0
x^2+2x-8=0
D=2^2-4*1*(-8)=36=6^2
x1=(6-2):2=2
x2=(-6-2):2=-4
(x-1)2+(x+2)2-(x-3)(x+3)=22
2x-2+2x+4-x+3*x+3=22
2x+2x-x+3x=2-4-3+22
6x=17
x=17/6
x^2-2x+1+x^2+4x+4-(x^2-9)=22
2x^2+2x+5-x^2+9-22=0
x^2+2x-8=0
D=2^2-4*1*(-8)=36=6^2
x1=(6-2):2=2
x2=(-6-2):2=-4