One form you could use is this: solve x= -2- t, y= 1+ 2t, and z= 3t for t: t= -2- x, t= (y-1)/2, and t= z/3. Now set those all equal:
. That is called the "symmetric form" for the line.
But again- a line in 3 dimensions cannot be written as a single equation. Essentially, each equation allow you to solve for one variable in terms of the others and so reduces the dimension by 1. In 2 dimensions, one equations reduces to 2- 1= 1 dimension- a line if the equation is linear or, more generally, a curve. But in 3 dimensions, one equation reduces to 3- 1= 2, a plane if the equations are linear or, more generally, a surface. If you have two equations, as in and then you reduce to 3- 2= 1 dimension, a line if the equations are linear or, more generally, a curve.