Given: A(a,b),B(3,4),C(−6,−8) denotes centroid, circumcentre and orthocentre respectively.
We know that, the line joining orthocentre and circumcentre is divided by centroid in the ratio 2:1, where distance from orthocentre being the larger part.

⇒a=2+12×3+1(−6),b=2+12×4+1(−8)
⇒a=0,b=0
⇒P≡(2×0+3,7×0+5)
⇒P≡(3,5)
Distance from P measured along x−2y−1=0
⇒x=3+rcosθ,y=5+rsinθ
Where, tanθ=21
So, the distance of point from 2x+3y−4=0 will be,
2(3+rcosθ)+3(5+rsinθ)−4=0
⇒r(2cosθ+3sinθ)=−17
⇒r=∣−(2⋅52+3⋅51)17∣
⇒r=∣7−175∣
⇒r=7175