The correct option is A d21+d22+d232
Let the components of the line AB on x axis, y axis and z axis be dx dy and dz respectively.
Now, let the angles made by the line with x axis, y axis and z axis be α β and γ respectively.
Therefore d=√(dx)2+(dx)2+(dx)2
Now the projection of the line on xy plane will be d1=√d2x+d2y
Similarly, the projection of the line on yz plane will be d2=√d2z+d2y
and the projection of the line on xz plane will be d3=√d2x+d2z
Hence, (d1)2+(d2)2+(d3)2
=d2x+d2y+d2z+d2y+d2x+d2z
=2((dx)2+(dx)2+(dx)2)
=2(d2)
Hence, d2=(d1)2+(d2)2+(d3)22