1)y=1/2x^2-2x-1
=(1/2)(x^2-4x+4)-3
=(1/2)(x-2)^2-3;
2) y=4x^2-24x+26
=4(x^2-6x)+26
=4(x^2-6x+9-9)+26
=4(x-3)^2-10.