If the point P (- 1.3) is the midpoint of the line L cut by two axes, the equation of the line is obtained

If the point P (- 1.3) is the midpoint of the line L cut by two axes, the equation of the line is obtained

Let l be x / A + Y / b = 1
The end point of the line segment cut by two coordinate axes is a (a, 0) B (0, b)
P (- 1.3) is the midpoint of the line segment of line L cut by two coordinate axes,
therefore
(a+0)/2=-1 a=-2
(0+b)/2=3 b=6
The straight line L is x / (- 2) + Y / 6 = 1, which is transformed into a general formula
3x-y+6=0