I think that
@Fizsi means the piece of the function for

to be
rather than
because, as
@cossine has noted, this second interpretation leads to no solution being possible.
Assuming the first interpretation, for

, we have
and for

, we have
For
)
to be continuous, the branches must meet and the limits must be the same, and thus:

.