We basically want to solve the equation for y.
First of all, multiply both sides by a:
[tex] ax = 5y [/tex]
Then, divide both sides by 5:
[tex] \dfrac{ax}{5} = y [/tex]
And there you go! Note that this could have been done in one single step, multiplying both sides by a/5.