The line y=2x+1y=2x+1y=2x+1 is tangent to the curve y=x2+ky=x^2+ky=x2+k, where k k\,k is a constant.
Find the value of kkk.