You can use point-slope form to find the equation of a line if you know any two points the line passes through and find the line's slope. For example, let's find the equation of the line passing through points (−1, 1) and (1, 2).