Suppose Then

if ,

and

if .

Hint: Compute the inverse function separately in the two cases. It may also help to draw the graph of .

You can earn partial credit on this problem.