How do you find the axis of symmetry, and the maximum or minimum value of the function #y= -x^2 + 2x + 1#?