a*x^2+2a*x+a=x^2-2x+2