(2AB/A^2)=(2AB)x(A^-2)

I need to get B in terms of A. I need to get all the 'A' terms grouped together, but i don't know what to do with the powers.

I can get this:

B=-(0.3333A^2)/(2A)

But as you can see i still have more than 1 A. I need to get all the A's together?

Then i get this:

B=(1/6)A

Can anyone confirm if i have done this correct?