Find the Maximum/Minimum Value -x^2+10x-29