Step-by-step explanation:
As ocean waves approach shore, their velocity decreases. The relation between the velocity, wavelength and the frequency of a wave is given by :

f = frequency
= wavelength
..............(1)
So, as the velocity of the wave increases, the wavelength and frequency also increases as per equation (1). When the velocity decreases, the frequency and the wavelength also decreases.