(1)
xa+ya=1⇒x+y=a
The above lines passes through a point (5,6) such that,
5+6=a
⇒a=11
Therefore, required equation is x+y=11
(2) Here there may be two cases
case-1: x−a+ya=1
⇒y−x=a
The above lines passes through a point (5,6) such that,
6−5=a
⇒a=1
Therefore, required equation is y−x=1
case-2:xa+y−a=1
⇒x−y=a
The above lines passes through a point (5,6) such that,
5−6=a
⇒a=−1
Therefore, required equation is x−y=−1