from the slope-intercept form of y = 3x - 4, we can see that the slope is 3 for that line, now if that line is going to be tangential to the curve x² + kx, then the slope of x² + kx must also be 3 at that point.
so let's get the derivative of f(x), bearing in mind that it has to be 3 in order to have a tangent line with a slope of 3 at that point.
![\bf \stackrel{f(x)}{y}=x^2+kx\implies \cfrac{dy}{dx}=2x+k\implies \stackrel{\textit{with a slope of 3}}{3=2x+k}\implies \boxed{3-2x=k}\\\\[-0.35em]~\dotfill\\\\\stackrel{\textit{if we plug that found \underline{k} into f(x)}}{y=x^2+(3-2x)x}\implies y=x^2+3x-2x^2\implies \boxed{y=3x-x^2}\\\\[-0.35em]~\dotfill\\\\\stackrel{\textit{and since both equations must equal each other at that point}}{\stackrel{tangent}{3x-4}=\stackrel{f(x)}{3x-x^2}\implies -4=-x^2\implies 4=x^2}\implies \boxed{\pm 2 = x}](https://img.qammunity.org/2019/formulas/mathematics/middle-school/ysvgqspkjxd6vb1z50g09u8pzgcehi1975.png)
now, we already know that 3 - 2x = k, so let's simply plug that found "x" to see what "k" may be then.

check the picture below.