I understand the basic stuff but with this shit I am completely confused.

....< 0,5x+1, x>=0
y=<
....< 2x+1, x<0

Ignore the dots.

How do you got with this? Just take each function separately and find the inverse function? If so then it was the same as these except with "-" instead of "+"