Let G be a semigroup with the following property: For any $a \in G$, there exist a unique $a^t\in G$ such that $aa^ta = a$, show that
If $x,a \in G$ and $a^tx = a^t$, then $x = aa^t$.
My thoughts
I can't think much about this question because I can barely understand it. It says, "For any a ∈ $G$", So any element of $G$ can be thought as an $a$. If $a^t$ is an element, so I can say $a^t$ is also an $a$ element of $G$, as it is an $a$ element, There will be another $a^t$ and so on.... Therefore I can say that $G$is infinite.
But the question treats a and x are distinct elements, and then associate x by saying that $x = aa^t$.
I'm totally confused, I'm not sure whether what I'm thinking is right, but I'm new to group theory, any help is appreciated.
Let $aa^ta=a$ and $a^tx=a^t$.
Thus, $$(aa^t)(aa^t)(aa^t)=(aa^ta)(a^taa^t)=$$ $$=a(a^taa^t)=(aa^ta)a^t=aa^t$$ and $$(aa^t)x(aa^t)=a(a^tx)(aa^t)=aa^t(aa^t)=$$ $$=(aa^ta)a^t=aa^t.$$ Thus, since for $aa^t$ there is an unique $b$ for which $(aa^t)b(aa^t)=aa^t$, we obtain $$x=aa^t$$ and we are done!