A wave's wavelength is the distance between subsequent maxima or minimum (hills or valleys). If, in the graph for this problem, one crest of a wave is 8 meters across, then its wavelength is 8 meters.
Check this answer by finding two points on the wave that are at the exact same height (e.g. 5 meters). Calculate the horizontal distance between those two points. The resulting answer is your wavelength.