let the lines with slopes m1,-1/m1,m2
then
m1 - 1/m1+ m2= c/d[sum]...........................1.
-1 + -m2/m1+ m1 m2= -b/d .........................2.
-m2= -a/d[their product].................................3.
by this,
m2=a/d
by 1.
m1-1/m1= c/d- m2= c/d - a/d=(c-a)/d ....................4.
by 2.
m2(m1-1/m1)=1-b/d
m1-1/m1=(1-b/d)/(a/d)....................................5.
equating 4. and 5. and solving we get
a^2 +d^2= ac+bd