[tex]e = {mc}^{2} \\ = > {mc}^{2} = e \\ = > m = \frac{e}{ {c}^{2} } [/tex]
[tex]m = \frac{e}{ {c}^{2} } [/tex]
Hope it helps.
Do comment if you have any query.