The correct option is
C x−y+9=0Let the given point be
A=(−5,4) and the given lines be,
L1:x+y+1=0 and
L2:x+y−1=0
Observe that, A∈L1.
If segment AM⊥L2, M∈L2, then, the distance AM is given by,
⇒ AM=|−5+4−1|√12+12=2√2=√2
This means that if B is any point on L2, then, AB>AM.
In other words, no line other than AM cuts off an intercept of length √2 between L1, and L2 or AM is the required line.
To determine the equation of AM, we need to find the co-ordinates of the point M.
Since, AM⊥L2, and the slope of L2 is −1, the slope of AM must be 1.
Further, A(−5,4)∈AM
By the slope-point form the equation of the required line is,
⇒ y−4=1(x−(−5))
⇒ y−4=x+5
⇒ x−y+9=0