Solve for s P=q-r+s