The equation of the straight line which passes through the point (1, - 2) and cuts off equal intercepts from the axes will be
x+y=1
x-y=1
x+y+1=0
x-y-2=0
Let the line be xa+ya=1. It passes through
(1,−2)∴ 1a−2a=1⇒a=−1
Hence, the equation of the line is x+y =-1.