] Which of the following functions, whose domain and codomain are the real numbers, are one-to-one, which are onto, and which have inverses, justify your answers:

f(x)=|x|.

f(x)=x^3+6.