A function, f(x), is "continuous at x= a" if and only if
1) f(a) exists
2) \(\displaystyle \lim_{x\to a} f(x)\) exists
3) \(\displaystyle \lim_{x\to a} f(x)= f(a)\)
It should be obvious that this function is continuous for all x except possibly x= 2.
So what are f(2) and \(\displaystyle \lim_{x\to 2} f(x)\)? What value of a makes those the same?
(Unfortunately, the way you have this written, f(2) does not exist for ANY value of a! I suspect that one of those "<" or ">" should be "\(\displaystyle \le\)" or "\(\displaystyle \ge\)".)