I can find the equation of the line from two coordinate pairs as well as from the gradient and one coordinate pair.