The frequency $f'$ perceived by an observer changes if the source ($v_s$) or the observer ($v_o$) is moving relative to the medium.
Observer locations are assumed infinitely far directly ahead and directly behind the source along the X-axis for frequency calculations.