We normally write average speed as integral of instantaneus speed with respect to the time divided by total time interval. However, it's better to write it with respect to position in discrete form here i.e: $$v_{avg}=\frac{1}{\sum_{i}\Delta x_i}\sum_{i}v(x_i)\Delta x_i=\frac{1}{X}\sum_{i}v(x_i)\Delta x_i~~(1)$$ $\Delta x_i$ Denotes the position interval where instantaneus velocity $v(x_i)$ remains the same. If you had a continuous data, I'd have used integral and $d x$ instead of $\Delta x_i$. Equation $(1)$ gives: $$Xv_{avg}=\sum_{i}v(x_i)\Delta x_i ~ ~(2)$$ We have many $v_{avg}$ at different positions. $X$ is known from graph too (it's just the total distance from orgin to the arbitrary point). is it possible to find $v(x_i)$ then? Probably! It will depends on linearity of $v(x_i)$. Let's do it for 2 point: $$X_2v_{2avg}-X_1v_{1avg}=\sum_{j}v(x_j)\Delta x_j-\sum_{i}v(x_i)\Delta x_i ~ ~(3)$$ Left side is known. 563
We can also expand the right side such that we get: $$X_2v_{2avg}-X_1v_{1avg}=\sum_{i}v(x_i)\Delta x_i-\sum_{i}v(x_i)\Delta x_i~+~...~+v(x_{n-1})\Delta x_{n-1}+v(x_n)\Delta x_n ~ ~(4)$$ Let's say that $\Delta x_i$ is the same for all instantaneus velocities (linearity) and we can assume something for its value. The fewer data you have, the bigger $\Delta x_i$ should be. In the case of 2 points, we can always assume $\Delta x_i$ such that equation $4$ reduces to $$\frac{X_2v_{2avg}-X_1v_{1avg}}{\Delta x}=v(x_n) ~ ~(5)$$ This will give us an instanteus velocity at a given position. This instanteus velocity is the same for all points in $\Delta x$. Thus if you are looking for a "real" instanteus velocity, you have to assume $\Delta x_i$ as small as possible.In your case where we have a lot of data, one should use equation 4, without reduction. After all, you can write it between any two arbitrary points, So for every unknown parameter on the right side, there is an independent equation hopefully. (i.e you can assume a small value for $\Delta x_i$ such that many terms for instantaneus velocity at different positions emerge in the right side, you can find them all with other equations)
Note that the equation $(1)$ is like $$v_{avg}=\frac{1}{T}\int_{0}^{T}v(t)dt~~~or~~~~v_{avg}=\frac{1}{T}\sum_{i}v(t_i)\Delta t_i$$ And of course $$v_{avg}=\frac{1}{T}\int_{0}^{T}v(t)dt=\frac{X}{T}$$ 804