Well there is no general method as such for rearranging formulas, but if you remember, whatever we do to one side an equation we must do to the other, then it becomes easy.

For example we can add and subtract, multiply and divide, take squares and roots of numbers from both sides:

etc...

And this applies to any arithmetic operation.