To find the point intersection of the lines x + 2y = 5 and x − 3y = 7, let us solve them.
So, the equation of the line passing through with slope 5 is
Let d be the perpendicular distance from the point (1, 2) to the line
Hence, the required perpendicular distance is