If the area of the triangle formed by the line y = - 2x + K and the two coordinate axes is 1, then the value of K is___ .

If the area of the triangle formed by the line y = - 2x + K and the two coordinate axes is 1, then the value of K is___ .

y=-2x+k
Then K
X = K / 2 when y = 0
When x = 0, y = k
So the area of right triangle is | K / 2 * k | 2 = 1
k²=4
k=±2