First, you need to remember the equation of a line: y=mx+b
y=the y coordinate from either coordinate pair
x=the x coordinate from the same pair
m=slope. Slope is calculated by the equation y2-y1/x2-x1 or rise over run
calculate the slope and put it place of m and then substitute in the x and y coordinates, from the same coordinate pair, in the equation. After this is done, solve for b (the y intercept) using algebra and you will have your equation