How to find the intersection point of two lines in Euclidean space if the lines are:
$$\textbf{l}_1 = \textbf{n}_1t + \textbf{d}_1 \\ \textbf{l}_2 = \textbf{n}_2s + \textbf{d}_2$$
here $\textbf{n}$ - direction vector parallel to the line $\textbf{l}$; $\textbf{d}$ - point belonging to the line $\textbf{l}$; $s$,$t$ - real type variables.
Assumption that lines intersect holds.
I saw similar questions for 3d space like Intersection between two lines, but I need general equations for any dimension.