Find the Maximum/Minimum Value y=x^2-10x+31