Solve the equation

(x-3)^2+(x+2)^=17

You have omitted the exponent for the second term.