The red car traveled north 2 miles, then east 4 miles, and then south 6 miles. If we draw the total distance of the car in a cartesian plane, we end up in Quadrant IV, point (4, -4).
The green car traveled south 4 miles and then east 4 miles. In cartesian plane, we end up in Quadrant IV, point (4,-4).
It proved that both car ended up at the same location.