So that is: given two point M and P, find the equation of the line through M and P. And it is given in a rather general format.
Again, as in the example, you can write the equation as

where "O" is some fixed point- typically the origin of a coordinate system but not necessarily. Here they are writing

, the vector from O to P, as

,

, the vector from O to N, as

, and [math]\vec{OM}, the vector from O to M, as

.
The vector form N to M is
Using that notation,

becomes

. Notice that if t= 0, this gives

, the "position vector" for the point M, and if t= 1 it gives

, the "position vector" of the point N. This line goes through M and N and two points determine a line.
Once you have that,

as given.
For a more specific problem, suppose, in some coordinate system, M= (a, b, c) and N= (d, e, f). Then, writing P as (x, y, z), and taking O= (0, 0, 0),

,

, and

. The formula above becomes


.
Again, notice that when t= 0 that gives


, giving the point M= (a, b, c) and if t= 1,


giving the point N= (d, e, f).