The correct option is
A −18We know that the slope m of a line passing through two points (x1,y1) and (x2,y2) is m=y2−y1x2−x1.
Let (m,−9)=(x1,y1) and (7,m)=(x2,y2), then the slope of the line can be determined as:
m=y2−y1x2−x1⇒m=m−(−9)7−m⇒m=m+97−m⇒m(7−m)=m+9
⇒−m2+7m=m+9⇒m2−7m+m+9=0⇒m2−6m+9=0⇒(m−3)2=0⇒m−3=0⇒m=3
Therefore, the points are (3,−9) and (7,3).
We also know that the equation of the line passing through a point (x1,y1) is (y−y1)=m(x−x1) where m is the slope of the line.
Thus, the equation of the line passing through the point (7,3) is as follows:
(y−y1)=m(x−x1)⇒(y−3)=3(x−7)⇒y−3=3x−21⇒3x−21−y+3=0⇒3x−y−18=0⇒3x−y=18
Now, put x=0 in the above equation to get the y-intercept as:
(3×0)−y=18⇒0−y=18⇒y=−18
Hence, the y-intercept of the line is y=−18.