When will the distance from A to B be negative?
The distance from A to B will be negative when the line is trending downward from left to right.