Relative Velocity: One Motion, Three Frames

Set each body's speed and bearing, then change the frame you watch from. v_AB = v_A - v_B is the velocity of A as measured by B. All four readouts stay put when the frame changes, because a frame change subtracts one common velocity from both bodies — and that is the whole of relative motion. Bearings run clockwise from north; computed figures are given to four significant figures.

In this frame A runs at 27.78 m/s, bearing 90.00° and B runs at 22.22 m/s, bearing 90.00°. v_AB is 5.560 m/s, bearing 90.00°, the same in all three frames.
All of v_AB lies along the line of sight, so the closing speed and the relative speed coincide at 5.560 m/s. That coincidence is why the two get muddled. The difference of the two speeds is 5.560 m/s, which here equals the relative speed because the two motions are collinear and in the same sense.
v_AB = v_A - v_B, the velocity of A as measured by B · relative speed is the magnitude of v_AB, and it equals the difference of the two speeds only when the motions are collinear and in the same sense · closing speed is the projection of v_AB on the line of sight, so it is never larger than the relative speed · v_BA = -v_AB is equal and opposite · bearings run clockwise from north, 0° north and 90° east · four significant figures throughout
Relative speed  v_AB
5.560 m/s
the magnitude of v_AB
Relative direction  bearing
90.00°
Closing speed  on the line of sight
+5.560 m/s
+ closes, - opens
Separation  A to B
1,000 m
Frame Ground frame: A and B both move
v_AB east +5.560 m/s
v_AB north 0.000 m/s
Difference of speeds 5.560 m/s
The same in km/h 20.02 km/h
v_BA, B as seen from A 5.560 m/s, bearing 270.0°
Watched from
Speed of A27.78 m/s
Bearing of A90°
Speed of B22.22 m/s
Bearing of B90°
Separation, B east of A1,000 m