Answer: 17cm.
Explanation:
The equation you're using is:
Δd = df - di
Which means the change in position is equal to the final position minus the starting position. In this case that works out to 20cm - 3cm = 17cm. We're only interested in how much the snail moved, not how long it took to move, so even though they give a time it actually doesn't matter for this question.
When the frequency decreases the wavelength is further apart. When it increases its closer together. Think about a flat line when the frequency is low the wavelengths are wider. When its a high frequency the squiggly lines on the moniter are taller and thinner so the wavelengths are not as wide and not that far from each other depending on how high the frequency is.