The source is moving in the direction of the wave that it is releasing while maintaining its frequency. That means that it is catching up to the waves that it is emitting and shortening the distance between the wave peaks resulting in a shorter effective wavelength by a factor of (vsound - vsource)/vsound. This means that the frequency, which is inverse with the wavelenght will increase by the ratio vsound/(vsound - vsource). When a listener is moving towards the source, that affects the frequency directly f' = f(vlistener+vsound)/vsound.
The overall doppler equation for sound is f' = f(v+vL)/(v-vs) where v is vsound and the source and listener velocities are >0 if they are moving towards each other. Note that source or listener causes f'>f when moving towards each other, but they do it in different ways.
Abhishek C.
Are the 2 Doppler equations on the web page https://stevenbbryant.com/2016/01/tutorial-four-trains-and-the-doppler-effect/ correct?02/07/23