Given line x=−y, slope(m1)=−1
let the point of reflection on line x=−y at (x1,y1) , But y1=−x1
Now equation of line(L1) passing through (2,3) and (x1,−x1) is
⇒m=y2−y1x2−x1=−x1−3x1−2
⇒y−y1=m(x−x1)
⇒y−3=−x1−3x1−2(x−2) and slope(m2)=−x1−3x1−2
Angle b/w line any 2 line is ϕ=tan−1(m1−m2)1+m1m2
Hence Angle b/w line (x=−y) and L1 is
ϕ1=tan−1[−1+x1+3x1−21+x1+3x1−2]
similarly for line (L2) which passing through (5,3) and (x1,−x1)
Angle b/w line (x=−y) and L2 is
ϕ1=tan−1[−1+x1+3x1−51+x1+3x1−5]
Now using law of reflection ∠i=∠r
tanϕ1=tanϕ2
On solving ,we will get x1=13
hence point of reflection is (13,−13)