Let the equation of line be r=a+λb2 since, line passes through A, so a=4i^+2j^+2k^ and line is parallel to the vector 2i^+3j+6k^ so b=2i^+3j^+6k^ Hence, equation of the line is
r=4i^+2j^+2k^+λ(2i^+3j^+6k^)
Distance of point B from the line =∣b∣∣(a2−a1)×b∣a2−a1=3i^+0j^+0k^