Proof (right inverse is left inverse)
$$ \begin{align*} \color{yellow} b &= \color{yellow} b\cdot e && \text{identity} \\ &= b\cdot (a\cdot b) && \text{hypothesis} \\ &= (b\cdot a)\cdot b && \text{associativity} \end{align*} $$ Let $c$ be an inverse of $b$. Multiplying $c$ to the right of both sides, $$ \begin{align*} b\cdot c &= \big((b\cdot a) \cdot b\big)\cdot c \\ &= (b\cdot a) \cdot (b\cdot c) &&\text{associativity} \\ e &= (b\cdot a) \cdot e \\ &= b\cdot a &&\text{identity} \end{align*} $$ as required.