heres a line:

Origin:
X0 = 0
Y0 = 0
Z0 = 0

Destination:
X1 = 100
Y1 = 0
Z1 = 500

using the same direction, how can i move a line using Math?