A certain harbor has docking stations along its west and south docks, as shown in the figure; any two adjacent docking stations are separated by a uniform distance d. A certain boat left the west dock from docking station #2 and moved in a straight line diagonally until it reached the south dock. If the boat was at one time directly east of docking station #4 and directly north of docking station # 7, at which docking station on the south dock did the boat arrive?