Given that the line L passes through the point m (2,3), and the intercept on the x-axis and y-axis is equal, the equation of the line L is obtained

Given that the line L passes through the point m (2,3), and the intercept on the x-axis and y-axis is equal, the equation of the line L is obtained

If it passes through the origin, then the intercept is all 0, which is consistent with
Then the line is y = (3 / 2) X
If not the origin
Let the intercept be a
Then x / A + Y / a = 1
SO 2 / A + 3 / a = 5 / a = 1
a=5
So it's 3x-2y = 0 and X + Y-5 = 0