A - Starts at (0, 0)
A - Ends at (8, 5)
B - Starts at (0, 0)
B - Ends at (3, 7)
A - X = 8 Y = 5
B - X = 3 Y = 7
The difference
A went 5 more then B did when comparing X, however, B's Y-Axis went further then A's Y-Axis
The distance
A
X Y
------------------
8 5
B
X Y
------------------
3 7
A - X = 1.6
B - X = 0.43