Here,
Let P be the point of intersection of both the lines.
∴ AP = r =
Let be the slope of the line. So, the equation of the line that has slope and passes through A (1, 2) is
The coordinates of P are given by
Thus, the coordinates of P are .
Clearly, P lies on the line x + y = 4.
Hence, the direction of the lines with the positive direction of the x-axis is .