use the method completing the square to write each of the following functions in the form y=a(x-h)^2+k. then identify the turning point and whether it is maximum or minimum.
(a) y=3x^2-12x+17.
(b) y=-5x^2+40x-70