⇒The first step is to find the slope/gradient between the points using the given formula below:

⇒Now that I have found the gradient keep in mind that the general equation of finding the equation of a straight line is y=mx+c
⇒To find the value of c I will use the point A Keep in mind you can use any point of your choice you will still finds the correct value of the same as any way

⇒This just simply means that the equation of the line of the points A and B is:

GOODLUCK!!