An ant has moved 3 units along the negative direction of the y−axis from point A, and 4 units along the negative direction of the x−axis. Then, it moves 3 units along the positive direction of the y−axis. What is the distance along the shortest path that the ant travels from point A to the final point?