linear interpolation between points
first x value
second x value
first y value
second y value
input x value
estimated y value
linear interpolation between points