P = 3r + 2s; for s