You can put this solution on YOUR website! When graphed, if can you draw a horizontal line through a function and only touch one point, that function would be a one-to-one function.
Now, graph that function as best as possible.
Yes, this function is a one-to-one function.