Here,
So, the equation of the line passing through (2, 3) and making an angle of 45° with the x-axis is
Let x − y + 1 = 0 intersect the line 2x − 3y + 9 = 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 2x − 3y + 9 = 0.
Hence, the distance of the point from the given line is .