Finding the slope of the line parallel to AB
Given, points are A (−2, 4) and B (0, 6).
Let,(x1,y1)=(−2,4) and (x2,y2)=(0,6).
We know that,
slope =y2−y1x2−x1
⇒slope=6−40+2
⇒slope=22=1
Also, if two lines are parallel their slopes are equal.
Hence, the slope of the line parallel to AB is 1.