r=wp,for p

divide by w on both sides