Let the point be (p,q) so that
p+5q=13
Its distance from the line 12x−5y+26=0 is
12p−5q+26√(144+25)=±2
Or 12p−5q+26=±26, given
+ive sign 12p−5q=0
−ive sign 12p−5q=−52
Solving (1) and (2), we get the point (p,q) as (1,12/5).
Solving (1) and (3), we get the point (p,q) as (−3,16/5).
Alternative method:
Any point on the line x+5y=13 be taken as (13−5t,t), choosing y=t
Its distance from 12x−5y+26=0 is 2
∴12(13−5t)−5t+26√144+25=±2
Or 14×13−13(5t)=±2(13)
Or 14−5t=±2 ∴5t=16 or 12
Putting for t in (1), the points are
(1,125) or (−3165)