The line is passes through the origin. Another point which lies on the line is the mid-point of the line segment joining the points
Let the mid-point of line segment joining the points
The formula for the mid-point of any line segment passing through point
Substitute the values of
Now, the formula of slope of a line passing through two different points is given by,
Let,
Substitute the values of
Thus, the slope of the line passing through the origin and the mid-point of the line segment joining the points