We assume that they're pulling in opposite directions ...
that's how this game works.
Daniel completely cancels out John's whole 10N, and he
still has 2N left over.
The NET force on the rope is 2N in the direction of Daniel.
So the rope accelerates in Daniel's direction.