For a $3D$ straight line expressed in the standard form: $$\left\{\begin{array}{l} a_1 x + b_1 y + c_1 z + d_1 = 0\\ a_2 x + b_2 y + c_2 z + d_2 = 0\end{array}\right.$$
and a given point $(x_0,y_0,z_0)$; what is the distance from the point to the straight line?
There are different options; here's one: