Given the quadratic function \( f(x) = 2x^2 - 12x + k \), find the value of \( k \) such that the vertex of the parabola lies on the x-axis. Let's think step by step and output the final answer within \boxed{}.
user