Now, the slope of perpendicular bisector of this line is =‌
−1
(−1)
=1 and the perpendicular bisector passing through the mid point of this line is (2,-1) Then, equation of perpendicular bisector is (y+1)=1(x−2) ⇒‌‌y+1=x−2 ⇒‌‌x−y=3