Let A=(2,5)=(x1,y1)
As we know, it is given that the required line is parallel to 3x−4y+8=0
⇒4y=3x+8⇒y=34x+8
∴tanθ=yx=34⇒sinθ=35,cosθ=45
so, the equation of line is
x−x1cosθ=y−y1sinθ
⇒x−24/5=y−53/5⇒3x−6=4y−20
⇒3x−4y+14=0
Let the line 3x−4y+14=0 cut the line 3x+y+4=0 at P.
Let AP=x. Then, the coordinates of P are given by
x−24/5=y−53/5=r⇒x=2+4r/5,y=5+3r5
Thus, are coordinates of P are (2+4r5,5+3r5)
clearly, P lies on the line 3x+y+4=0
∴3(2+4r5)+(5+3r5)+4=0
⇒6+12r5+5+3r5+4=0
⇒15+15r5=0
⇒r=−5
∴AP=|r|=5
Hence, distance of the point (2,5) from the line 3x+y+4=0 measured parallel to the line 3x−4y+8=0 is 5.