You cannot measure wave velocity by looking at the movement of one single particle in the medium. Technically, you cannot measure wavelength either, unless you already know or assume what the wave velocity is. You can measure the size of the particle's vibration, which determines the wave amplitude ($A$), and the time the particle takes to make one full cycle, which is the wave's frequency ($f$). But you cannot find the wave velocity or wavelength without more information.
Suppose you have a particle that, as you have said, "completes its vibration" in 4 seconds. Was that caused by a wave with a wavelength of 40 meters, moving forward at a velocity of 10 meters per second? Or a wave with a wavelength of 2 meters, moving forward at a velocity of 0.5 meters per second? Both would produce the same movement in that particle. There is no good way to distinguish between a long-but-fast wave and a short-but-slow wave.
This means that your existing graph only shows a change in wavelength if you assume that both waves have the same velocity. (Though this is actually a safe assumption in your case. More on that later.) The same graph could also represent two waves that have the same wavelength, but one wave is moving faster. Or some mix of the two.
In order to find the wave velocity ($v$), you need to measure the distance that the wavefront—the leading edge of the wave—travels over a given time period. You can then derive the wavelength ($\lambda$) from the velocity and the frequency.
$$\lambda = \frac{v}{f}$$
In practice, there are many cases where we already know what the wave velocity is because of prior measurements. Since you have tagged your question "acoustics", I will assume that we are talking about longitudinal waves, a.k.a. sound waves.
The velocity of a sound wave depends on the medium through which the wave is passing. Let's suppose it's air. If you know the temperature and composition of the air (including humidity), you can go and look up how fast sound waves will travel through that air. At 20 °C, it's about 343 meters per second. All sound waves will travel at that speed, even if they differ in amplitude (loud vs. soft sounds) or frequency (high vs. low sounds). There will be variation in wavelength, since that is inversely proportional to frequency, but not wave velocity.
It is difficult to show any of this with a graph on paper. An animation would be better. Imagine an animated version of this:
...where the top wave was moving rather quickly, and the bottom wave was moving rather slowly. And imagine that there was a little dot on each wave, representing the movement of a single particle. You would see that the dots were moving up and down at the same rate. That would represent the tradeoff between wavelength and wave velocity.