Given,
The distance between the two docks, d=40.0 m
The wavelength is described as the distance between the two adjacent crests.
Here λ is the wavelength.
From the figure, there are 4 wavelengths between the docks.
Thus the wavelength of the wave is given by,
On substituting the known values,
Thus the wavelength is 10 m