We can write the equation of line in the form
y=mx +b
where m is slope , and b is y intercept
Now the slope formula is

let's plug the points in the formula to find slope
m=

So we get equation as

Now we have to find the value of b also
to find the value of b , we can plug any one point



So the equation is
