If the line L passes through the point P (3,2), and the midpoint of the line cut by the coordinate axis is exactly P, the equation of the line L is obtained

If the line L passes through the point P (3,2), and the midpoint of the line cut by the coordinate axis is exactly P, the equation of the line L is obtained

Let the line L and Y axis intersect at point a and X axis intersect at point B, then AOB is a right triangle and OP is the middle line. It is easy to know that the coordinates of point a are (0,4) and point B are (6,0), and the linear equation is y = KX + B, so B = 4 and K = - 2 / 3, so the equation of line L is y = - 2 / 3 * x + 4