方程(k-1)x2+2(k-1)x+k+2=0怎么算?