In the following exercise from University Physics with Modern Physics (Young, Hugh D.; Freedman, Roger A..)
Two point charges are at fixed positions on the $x$-axis, $q_1 = -e$ at $x = 0$ and $q_2 = +e$ at $x = a$.
(a) Find the work that must be done by an external force to bring a third point charge $q_3 = +e$ from infinity to $x = 2a$.
(b) Find the total potential energy of the system of three charges.
the answer is
(b) $U=-\dfrac{e^2}{8 \pi \epsilon_{0} a}$
Our negative result in part (b) means that the system has lower potential energy than it would if the three charges were infinitely far apart. An external force would have to do negative work to bring the three charges from infinity to assemble this entire arrangement and would have to do positive work to move the three charges back to infinity.
I am finding it difficult to visualize negative work when the total potential energy of the system is negative. According to the textbook, it states that $U_a - U_b$ is the work that must be done by an external force to move the particle slowly from $b$ to $a$ against the electric force.
So I understand how "an external force would have to do negative work to bring the three charges from infinity to assemble this entire arrangement and would have to do positive work to move the three charges back to infinity" but I do not know how to visualize it.
I think that the displacement and force have to be acting opposite to each other for there to be negative work. I'm not too sure on how to apply this conception to a system of particles.