So, the equation of the line passing through A (2, 5) and having slope is
Let 3x − 4y + 14 = 0 intersect the line 3x + y + 4 = 0 at point P.
Let AP = r
Then, the coordinates of P are given by
Thus, the coordinates of P are .
Clearly, P lies on the line 3x + y + 4 =0.
Hence, the distance of the point (2, 5) from the line 3x + y + 4 = 0 is 5.