The slope of any line is the inclination of the line with x axis.
For any two ordered pairs (x1,y1) and (x2,y2) the slope
m=
![(y2-y1)/(x2-x1)](https://img.qammunity.org/2019/formulas/mathematics/high-school/im76jry3ymtqnvln3l0t8lo4zqhnce6gfm.png)
We need to solve for y2.
Multiplying both sides by x2-x1 we have :
y2-y1=m(x2-x1)
y1 is subtracted to y2 so we perform the opposite operation both sides
Adding y1 both sides:
y2= x(2-x1)+y1.
The third option is the right answer.