Find the Maximum/Minimum Value g(x)=x^2-6x+10