Solve for p (r-p)/3=S