r' = p1/p2