Equation of line is
→r=2^i−4^j+2^k+λ(3^i+4^j+2^k)
Its cartesian form is
x−23=y+44=z−22=λ ....(i)
Equation of plane is →r.(^i−2^j+^k)=0
⇒x−2y+z=0 ....(ii)
To find point of intersection of (1) and (2) from (1),
x=2+3λ, y=−4+4λ, z=2+2λ
Put in (2),
2+3λ−2(−4+4λ)+2+2λ=0
⇒2+3λ+8−8λ+2+2λ=0
⇒12−3λ=0⇒λ=4
∴ point of intersection of (1) and (2) is
P(2+3×4, −4+4×4, 2+2×4)
P(14,12,10)
Distance of A(2,12,5) from P(14,12,10)
|AP|=√(14−2)2+(12−12)2+(10−5)2
=√122+02+52=13 units