You would use waypoints.
So e.g for the top lane, first you would send your units towards the top left corner, then when they get within a pretty large circle around that point you would switch the target so that they move towards the enemy base.
Pathfinding does nothing to prevent collision with other agents. You can use a local avoidance technique for that (for example the one in the pro version or other systems such as UnitySteer).