y=-3x²+6x-1
=-3(x²-2x+1-1)-1
=-3[(x²-2x+1)-1]-1
=-3(x-1)²+3 -1 (这一步-3×(-1)结果3是在括号外面)
=-3(x-1)²+2
这样就看清楚了,