Distance on the coordinate plane

Find the horizontal or vertical distance between points in different quadrants.