How to complete the square in the form a(x+b)^2-c : find the vertex