Sorry I don't really understand the question but
If you are looking for r in terms of w:
3w - 6r = 30
-6r = 30 - 3w
r = -5 + 0.5w
r = 0.5w - 5
=========================================
If you are looking for the exact value of x, sorry, I don't know..... (-_-")