The two points are P(1, - 1, 7) and Q(7, 4, 1).
The two points form of vector equation : .
Substitute in the above equation.
The two points form of parametric equations :