Help Me

Hopefully you have found this site useful/helpful. In return if you want to help me then I'm stuck with folloing problems:

I need to rearrange this equation so it's in the format r=(everything else) and if possible could you guide me through the steps:

x-q-r-equation.gif (722 bytes)