The area of the triangle formed by the line L passing through a (1.2) and the positive half axis of the two coordinate axes is four, and the linear equation is obtained

The area of the triangle formed by the line L passing through a (1.2) and the positive half axis of the two coordinate axes is four, and the linear equation is obtained

Let X / A + Y / b = 1 (where a > 0 and b > 0),
Because the straight line passes (1,2), then 1 / A + 2 / b = 1,
If the triangle area is 4, then AB / 2 = 4, that is, ab = 8,
A = 2, B = 4,
So the linear equation is x / 2 + Y / 4 = 1, that is, 2x + y-4 = 0