Solve for x -px+r=-8x-2