Plane through given line is
Ax+B(y−3)+C(z−5)=0. ... (1)
where A.1+B.2+C.3=0. ... (2)
Also the plane is perpendicular to 2x+7y−3z=1
∴2A+7B+C(−3)=0 ... (3)
Solving (2) and (3), we get
A−27=B9=C3 or A9=B−3=C−1.
Hence, the required plane is
9x−3(y−3)−1(z−5)=0
⇒9x−3y−z+14=0.
⇒p−k−m=2