According to given information
Equation of lines is passing through (1,−1,1) and
having DC's is (2,3,1) 2x−1=3y+1=1z−1=r
Here, (2r+1,3r−1,r+1) lie on plane. ∴ These points satisfy the equation of plane. 3(2r+1)+4(3r−1)+5(r+1)+19=0 ⇒6r+3+12r−4+5r+5+19=0 ⇒23r+23=0⇒r=−1
So, point is (−2+1,−3−1,−1+1) i.e. (−1,−4,0)
Now, required distance =(−2)2+(−3)2+12 =4+9+1=14