A line passes through the point (2, 3) and perpendicular to the line joining (-5, 6) and (-6, 5) is given by :
So, slope of the line joining (−5,6),(−6,5)=−6+55−6=1
Slope of the line perpendicular to this line =−1
So, equation of the required line will be y=−x+c
Since, this line passes through (2,3), on substituting (2,3) in the equation we get
3=−2+c
=>c=5
Hence, required equation of the line is y=−x+5 or x+y−5=0