I can't seem to wrap my head around writing a function as the composition of two other functions under the constraint that one of the functions must be injective and the other must be surjective. $ f:\mathbb{R} \to \mathbb{R}$
I am trying to write: \begin{align} f(x) = |x| + 1\\ \end{align} I know \begin{align} \sqrt[]{x^2} \end{align} is equivalent to |x|, but this function is not injective or surjective, so I believe my best option is to add a term of x to this to make it one of either, for example adding x for injective or x^3 for surjective. I have no idea where to go from here.
I am really looking for general advice so I can tackle these problems as they come.