Let $E$ be a set , and let $f_a$ and $g_a$ be two functions such that for all $a \in E$ :
$$f_a : E \rightarrow E$$
defined by $ f_a(x)=ax$, and
$$g_a : E \rightarrow E$$ defined by $ g_a(x)=xa$.
The Question is : Suppose that $f_a$ and $g_a$ are surjective for all $a \in E$, and suppose $e$ is a neutral element in $E$, show that all elements of $E$ are invertible.
I tried starting like this :
Suppose that : $x(x^{-1}) = e$
So : $(x^{-1})x(x^{-1}) = (x^{-1})e$
$e(x^{-1}) = (x^{-1})e$
So that means $f(x^{-1}) = g(x^{-1})$ are both in $E$.
I think that my answer is not logical because I don't think I showed the proper proof.
Can I get some help on how to start this answer or maybe how I can go about solving it please? Thanks in advance.