how do I find the vertex

y=(x+2)(x-1)

expand;

y=x^2+x-2
= x^2+x+1/4 -2 1/4
= (x+1/2)^2=2 1/4
looks like the vertex is as x=-1/2, you calculate what y is.