We need to find slope of a line passing through origin
O(0,0) and mid-point of
P(0,−4) and
B(8,0)Let M be the mid-point of P(0,−4) and B(8,0)
We know that,
Mid-point of (x1,y1) and (x2,y2)=(x1+x22,y1+y22)
Mid-point M of (0,−4) and 8,0)=(0+82,−4+02)
=(82,−42)
=(4,−2)
We know that slope of line passing through (x1,y1) and (x2,y2) is
m=y2−y1x2−x1
Slope of the line between points O(0,0,) and M(4,−2)
Here, x1=0, y1=0
x2=4, y2=−2
m=−2−04−0=−24=−12
Hence, slope of line its −12