You need to complete the square:
f(x) = 3(x2 + 2x) - 6 = 3(x2 + 2x +1) - 9 = 3(x+1)2 - 9
Note to complete the square 1 was added inside the parentheses, i.e. 3 to the whole equation and then 3 was subtracted: -6-3=-1
This is the vertex form; the vertex is (-1,-9).