Answer:
a=3 IF it's continuos
Explanation:
for continuity, the left limit of the first equation must be equal to the right limit of the third equation
and they are equal, as you can see putting x=2 in both equations
to be continuos in a point c, f(x) must:
be defined in c (so f(c) exists)
the limit in c exists (in this case both from left and right)
the limit in c must be equal to f(c)