In $2D$ it's easy to deal with doppler effect given the velocity of the source and the velocity of the observer like in fig (1) where we have the observer at A static and the source in direction of $\vec{u}$ emitting waves with velocity $v$ and frequency $f$ and moving with velocity $v_s$ we will say that
$$f'=\frac{v}{v-v_s\cos(\theta)}*f$$ Where theta is the angle between the $x$-axis and the $\vec{u}$.
Now if we have have a vector in space with the same frequency and velocity and a static point in space how do we represent the actual frequency $f'$ that the observer receives?