f(x)= {kx-3 if x is less than or = to 1

{x^2+k if x is greater than 1

find k such that lim f(x) (x to 1) exists