The given limit is .
Observe the above graph, The function f is a piecewise-defined function.
At x = 2 , both function values are different.
Now conclude from the graph that there is no limit exists at x = 2.
Limit does not exists at x = 2.