Type at x = 2

f(x) = x² for x < 2, and kx − 1 for x ≥ 2. Find k.