Find the linear equation that the area of triangle passing through point a (- 2,2) and surrounded by two coordinate axes is 1

Find the linear equation that the area of triangle passing through point a (- 2,2) and surrounded by two coordinate axes is 1

Let the straight line be Y-2 = K (x + 2), intersect the X axis at the point (− 2K − 2, 0), intersect the Y axis at the point (0, 2K + 2), s = 12 ×| 2K + 2 ×| 2K + 2 | = 1, | 4 + 2K + 2K | = 1, then 2k2 + 3K + 2 = 0, or 2k2 + 5K + 2 = 0. The solution is k = - 12, or K = - 2, | x + 2y-2 = 0, or 2x + y + 2 = 0