You can find the midpoint of the line by merely finding the average value of its two endpoints. You add the two endpoints, and divide it by two. In this case,
(-0.3 +0.1)/2 = -0.1
Thus, the midpoint of the line is located at point -0.1 on the number line.