I need to prove injection and surjection of the following function defined as such that where

It's asked to find domain, range (which I've already found), just that I don't know how to prove that is injective and surjective. The idea I had to prove injectivity was to determine another function, for example so that I can get an equality... well... I don't think that's the right track.

Thanks in advance.