I don't know how to prove formally this statements.
1) Let $V$, $W$ be two vector spaces (of finite dimension)
and let $f: V \to W$ be a linear surjective function.
Prove that there exist a function $g: W \to V$ such as $f(g(x))$ is the identity function of $W$
1) Let $f: V \to W$ be a linear injective function.
Prove that there exist a function $g: W \to V$ such as $g(f(x))$ is the identity function of $V$