Answer
The function is one-to-one.
Refer to the attached image below for the inverse.
Work Step by Step
Every output is paired with only one input therefore the function is one-to-one.
To find the inverse interchange the input and output. (refer to the attached image in the answer part)