Calculate values along a straight line between two points.
The point for which you want to find the corresponding y.
y = y₀ + (x - x₀) * ((y₁ - y₀) / (x₁ - x₀))