Find the Optimum value of the function f(x)=2x^2+6x-10 and also state if the function attains a maximum or minimum.