What is r=wp solving for p
Divide each side of the equation by 'w'. Then step to one sidenimbly and quickly, to avoid being struck by the answer, which will leap up at you from the page.