The function fff is defined by f(x)=x2+kxf(x) = x^2 + kxf(x)=x2+kx for x<2x < 2x<2 and f(x)=3x+4f(x) = 3x + 4f(x)=3x+4 for x≥2x \geq 2x≥2. Find the value of kkk that makes fff continuous at x=2x = 2x=2.
Credit: Original questions written for Kosoma to the MoEYS curriculum and checked by an independent solve.