Relative velocity $V_{AB} = V_A - V_B$. This corresponds to a vector of 3 km/s North and -4 km/s East (i.e., 4 km/s West). The magnitude is $\sqrt{3^2 + 4^2} = 5$ km/s. The direction is North-West, or west of north.